Boost logo

Boost Users :

Subject: Re: [Boost-users] Who can give me a sample for how to using boost::thread in a MFC regular dll?
From: DDGG (ddcatgg_at_[hidden])
Date: 2010-04-21 04:55:01


You are very kind, thank you for your help!
I have found the solution, at the last reply of this:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/ec0ce12e-d54d-4b6a-944e-62dd8bb76b7d

// extern BOOL (WINAPI * const _pRawDllMain)(HANDLE, DWORD,
LPVOID)=&dll_callback;
I commented it and recompiled the boost library, and then the problem
disappeared.

2010/4/20 Ismael Bejarano <ismaelbej_at_[hidden]>:
> Hi,
>
> On Mon, Apr 19, 2010 at 12:24 PM, DDGG <ddcatgg_at_[hidden]> wrote:
>> Thanks for your help, but it is no way...
>> I have placed my sample project to:
>> http://ddgg.50webs.com/TestBoostThreadDll.rar
>>
>> World you like to help me? Thanks a lot!
>>
>
> I've tried with VS 2005 with boost-1.42 and it work as expected (I've
> to replace CWinAppEx with CWinApp because they don't exists in
> VS2005). Sorry, but I don't have VS 2008.
>
> Cheers,
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net