|
Threads-Devel : |
From: Anthony Williams (anthony_at_[hidden])
Date: 2008-09-03 06:08:39
At Wed 03 Sep 2008 10:47:33 BST, Rudi Lindl <rudi.lindl_at_[hidden]> wrote:
> Unfortunately i get an error during the loading of the dll when i define a
> boost::thread_specific_ptr within the dll. The dll compiles fines. If i want
> to use the dll with the LoadLibrary command i get Error 193 "is not a valid
> Win32 application".
> The result is that everything works fine
> (including boost::thread_specific_ptr ) untill i instantiate cetain objects.
Firstly, which version of Boost are you using, and with which compiler?
Secondly, there is clearly a bad interaction between these objects and
boost::thread_specific_ptr. Please could you post some code that
demonstrates the problem, so we can figure it out.
Anthony
-- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL