


1>FileVersion.obj : error LNK2001: unresolved external symbol _pgmptr 1>nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol _argv 1>nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol _argc 1>C:\Documents and Settings\Josip\My Documents\Visual Studio 2008\Projects\Upravljanje snimkama\Release\Upravljanje snimkama.exe : fatal error LNK1120: 3 unresolved externals 1>Build log was saved at "file://c:\Documents and Settings\Josip\My Documents\Visual Studio 2008\Projects\Upravljanje snimkama\Upravljanje snimkama\Release\BuildLog.htm" 1>Upravljanje snimkama - 4 error(s), 0 warning(s) = Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =ġ>- Build started: Project: Upravljanje snimkama, Configuration: Debug Win32 - 1>Linking. The errors I'm getting when building booth Release or Debug configurations are:ġ>- Build started: Project: Upravljanje snimkama, Configuration: Release Win32 - 1>Linking. Those are the libraries I'm averred in my program. Ignore specific library:libcmt for release and libcmtd, MSVCRDT for debug versionĪlso in code I have #pragma comment(lib, "Netapi32.lib") Properties > Linker > Input - Additional Dependencies: libmysql.lib mysys.lib strings.lib Properties > C/C++ > Code generation - Runtime library: /MT for release and /MTd for debug version

My app works with MySql database so I use:

So I decided to staticly link libraries statically. The problems starts when app runing on other machines failed with different messages. Hi, I have a MFC SDI app which when linked dinamically with MFC works fine.
