Change your compilation model to multithreaded (debug) dll. Regards
Finn Møller Hansen -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jakob.kreuzfeld Sent: 4. august 2006 18:35 To: [email protected] Subject: [mitab] Cannot access to the C++ API with the Release 1.5.1 Hello, I want to use the C++ API of the release v1.5.1 (OS: Windows2000) by linking mitab_i.lib. Indeed I want to link statically mitab.dll with my software. I cannot access to the static method IMapInfoFile::SmartOpen() while I include "mitab.h" in my source code. I've got the next error when my project is linking : ### MITABTester error LNK2019: symbole externe non résolu "public: static class IMapInfoFile * __cdecl IMapInfoFile::SmartOpen(char const *,int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) référencé dans la fonction _main" ### (french) ==> ### "MITABTester error LNK2019: this external symbol is not resolved "public: static class IMapInfoFile * __cdecl IMapInfoFile::SmartOpen(char const *,int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in the _main method" ### (english). On the other hand there is no linking problem if I use the C API methods ( ex.: mitab_c_open() ) simply by including "mitab_capi.h" in my source code. Do you know what happened ? Are the C++ symbols really exported ? What can I do to avoid that ? Thanks, JK PS: I obtained mitab_i.lib by launching the 'nmake' command as the README.txt indicated it Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/mitab/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
