ESQL/C with MFC
Posted in 1998
Markus Bschorer — — source: Informix-list mailing list archive (1991-1998)
Hi! I'am working with Informix-ESQL/C Version 7.20 under Windows-NT and I'm using it in a Visual C++/MFC-Project. In the Visual-C++-Debug-Mode, everything works perfect, but in the Release-Mode, it's not possible to link the whole project successfully. I've got always the following error: mfcs42.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRT.lib(dllmain.obj) I already tried out all combinations of esql-preprocessor-flags - wasted effort. Has anyone an idea, what's wrong there? Thank you in advance! mb@alphatron.de