Belgrade, Saturday, October 16, 2004
hi everyone,
i’m completely new to this sdl stuff but, as from what i saw in html help
files, it seems to me that it has everything i need. i have one problem. i
would like to be able to use sdl lib with .net so i started new dialog based
project, included all .h and .lib files into it. when i compile it as a debug
solution everything works great but when i try to compile it as release
version i get 3 unresolved externals report by linker. here it is:
Linking…
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc
nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(viewedit.obj) : error LNK2001: unresolved external symbol __mbctype
Release/sdlt2.exe : fatal error LNK1120: 3 unresolved externals
i know what argc and argv symbols are but what i don’t know is how to solve
this problem and why this message is not displayed with debug version ???
can anyone help me with this ?—
thanx,
sasho
sasho wrote:
Belgrade, Saturday, October 16, 2004
hi everyone,
i’m completely new to this sdl stuff but, as from what i saw in html help
files, it seems to me that it has everything i need. i have one problem. i
would like to be able to use sdl lib with .net so i started new dialog based
project, included all .h and .lib files into it. when i compile it as a debug
solution everything works great but when i try to compile it as release
version i get 3 unresolved externals report by linker. here it is:
Linking…
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc
nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(viewedit.obj) : error LNK2001: unresolved external symbol __mbctype
Release/sdlt2.exe : fatal error LNK1120: 3 unresolved externals
i know what argc and argv symbols are but what i don’t know is how to solve
this problem and why this message is not displayed with debug version ???
can anyone help me with this ?
If you send/post an url to the source code that leads to these errors,
maybe someone could help.
Stephane