Link problem with Informix ODBC Driver SDK2.40 on windows
Posted in 2000
Hi folks. I have a problem to link the iclit09b.lib library from SDK240 into a dll. I use MSVC. The linker generates these messages. ------------------------------------------------ Generating Code... Linking... c:\\informix\\lib\\iclit09b.lib : warning LNK4064: conflicting subsystem; image may not run Creating library Release/kslinfse.lib and object Release/kslinfse.exp apicli.obj : error LNK2001: unresolved external symbol _SQLError@32 apicli.obj : error LNK2001: unresolved external symbol _SQLAllocEnv@4 apicli.obj : error LNK2001: unresolved external symbol _SQLFreeEnv@4 apicli.obj : error LNK2001: unresolved external symbol _SQLFreeConnect@4 apicli.obj : error LNK2001: unresolved external symbol _SQLSetConnectOption@12 apicli.obj : error LNK2001: unresolved external symbol _SQLAllocConnect@8 apicli.obj : error LNK2001: unresolved external symbol _SQLTransact@12 apicli.obj : error LNK2001: unresolved external symbol _SQLAllocStmt@8 apicli.obj : error LNK2001: unresolved external symbol _SQLSetStmtOption@12 Release/kslinfse.dll : fatal error LNK1120: 9 unresolved externals Error executing link.exe. --------------------------------------------------- This library works fine when linked with a subsystem:console programm. Any idea of what is the matter ?