Boost logo

Threads-Devel :

From: Anthony Williams (anthony_at_[hidden])
Date: 2007-04-02 07:47:11


"Yatin Salian" <yatinsalian_at_[hidden]> writes:

> I am getting linking error LNK2019: unresolved external symbol "int
> __stdcall boost::xtime_get(struct boost::xtime *,int)" (?xtime_get_at_boost@@
> YGHPAUxtime_at_1@H_at_Z) referenced in function "public: void __thiscall
> CSMDispatcher::Run(void)" (?Run_at_CSMDispatcher@@QAEXXZ). This is mainly
> because the application that I m developing uses the __stdcall calling
> convention and hence it is not able to load the symbol. I am using other
> boost libraries but none of them are giving me any problems except for this
> call. Is there any solution for this other than changing my whole
> application's calling convention to __cdecl which I want to avoid ?

Have you tried building boost with the __stdcall calling convention?

Anthony

-- 
Anthony Williams
Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk