opensubscriber
   Find in this group all groups
 
Unknown more information…

c : conduit-dev-forum@news.palmos.com 23 January 2008 • 3:20AM -0500

After migrate to VS Ver 7, got LNK9038 and LNK2019 error
by fungtsz.leung

REPLY TO AUTHOR
 
REPLY TO GROUP




Due to Visual Studio Ver 6 is at the end of life, all our projects have to move to VS Ver 7.

When I compiled the same project on Ver 6, everything works fine.  However, when I compiled it with Ver 7, I would get a lot of "LNK2019: unresolved external symbol" errors.

I have fixed a lot of these errors by download the latest "Conduit Development Kit for Windows Release 6.0.1".  However, I still have the following error:

imex20.lib(IMEX20.dll) : LNK9038: module unsafe for SAFESEH image.

error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CSubImpFlds::GetFieldOrder

error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum ImpError __thiscall CGetImportFields::LoadImportData

The most common reason for the linker (LNK9038) not to be able to produce an image is because one or more of the input files (modules) to the linker was not compatible with the safe exception handlers feature. A common reason for a module to not be compatible with safe exception handlers is because it was created with a compiler from a previous version of Visual C++.  And these may created the error LNK2019.

After reference the latest lib, I still have errors related to the IMEX20.LIB, my coworker told me that he got "imex20.lib" from older version ""Conduit Development Kit".  That is the reason I download the latest release; however, I could not find IMEX##.LIB at all in the 6.0.1 release.

Please help me out on how to solve this problem, thanks!
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.