Hi.
I've a problm linking wxWinows library to my application. I'm bulding my project with Microsfot Visual Studio 6.0 with NT4.
Main parameters of my project are:
1.
Project Options (Debug mode)
/nologo /MLd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "__NT__" /Fp"Debug/apn_new.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
2.
Link object/libraries:
wxstring.lib wx32.lib rcparser.lib prologio.lib itsy.lib gauge.lib fafa.lib dib.lib ctl3d32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
3.
code generation:
debug single/Threaded
4.
Precompiled headers:
automatic use of precompiled headers
5.
Not Using MFC (but I've used MFC static library to build the wxWindows library...)
I get this error message:
----Configuration: apn_new - Win32 Debug-----
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/apn_new.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
apn_new.exe - 2 error(s), 0 warning(s)
I've already tried to undefine libcd.lib and libcid.lib, but it doesn't work...
Thanks!
Matte
I've a problm linking wxWinows library to my application. I'm bulding my project with Microsfot Visual Studio 6.0 with NT4.
Main parameters of my project are:
1.
Project Options (Debug mode)
/nologo /MLd /W3 /Gm /GR /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "__NT__" /Fp"Debug/apn_new.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
2.
Link object/libraries:
wxstring.lib wx32.lib rcparser.lib prologio.lib itsy.lib gauge.lib fafa.lib dib.lib ctl3d32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
3.
code generation:
debug single/Threaded
4.
Precompiled headers:
automatic use of precompiled headers
5.
Not Using MFC (but I've used MFC static library to build the wxWindows library...)
I get this error message:
----Configuration: apn_new - Win32 Debug-----
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/apn_new.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
apn_new.exe - 2 error(s), 0 warning(s)
I've already tried to undefine libcd.lib and libcid.lib, but it doesn't work...
Thanks!
Matte