Boost logo

Threads-Devel :

From: Jeff Idol (jeffidolh_at_[hidden])
Date: 2007-04-04 19:41:29


It is possible to compile the thread library in standard call. Just look at the make files and change the calling convention to compile standard call and then rebuild the thread library. You might run into some errors in the library with standard call but I imagine you can fix them easy enough.

----- Original Message ----
From: Anthony Williams <anthony_at_[hidden]>
To: Discussions about the boost.thread library <threads-devel_at_[hidden]>
Sent: Monday, April 2, 2007 6:47:11 AM
Subject: Re: [Threads-devel] Calling convention problem for boost::xtime_get

"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 mailing list
threads-devel_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/threads-devel
 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 


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