I have a COM object and one of the function need to create a worker thread, In order to use CWinThread class, I need to include the afxwin.h, right? after I added the include statement, I got this linking problem:
Linking...
nafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.