There is an incorrect preprocessor define in the VC++6 ZTHREAD_SHARED.dsp file. Only in the release configuration there is a define for ZTHREAD_SHARED_EXPORTS which should be ZTHREAD_EXPORTS. If this define is not changed none of the functions will be exported from the DLL making it useless. The debug version works fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-04-26
This ZTHTREAD_SHARED project contains references to 2 files that do not exist in CVS:
AbstractThreadLocal.cxx
ThreadLocalMap.cxx
Without these files the linking results in 5 errors:
ThreadImpl.obj : error LNK2001: unresolved external symbol "public: void __thiscall ZThread::ThreadQueue::insertReferenceThread(class ZThread::ThreadImpl *)" (?insertReferenceThread@ThreadQueue@ZThread@@QAEXPAVThreadImpl@2@@Z)
Is there any method to solve this problem?
Thank you
Alex Narinsky
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is an incorrect preprocessor define in the VC++6 ZTHREAD_SHARED.dsp file. Only in the release configuration there is a define for ZTHREAD_SHARED_EXPORTS which should be ZTHREAD_EXPORTS. If this define is not changed none of the functions will be exported from the DLL making it useless. The debug version works fine.
This ZTHTREAD_SHARED project contains references to 2 files that do not exist in CVS:
AbstractThreadLocal.cxx
ThreadLocalMap.cxx
Without these files the linking results in 5 errors:
ThreadImpl.obj : error LNK2001: unresolved external symbol "public: void __thiscall ZThread::ThreadQueue::insertReferenceThread(class ZThread::ThreadImpl *)" (?insertReferenceThread@ThreadQueue@ZThread@@QAEXPAVThreadImpl@2@@Z)
Is there any method to solve this problem?
Thank you
Alex Narinsky