January 15th, 2008, 02:56 PM
unresolved external symbol @__security_check_cookie@4
hi, i very familiar with linkage. however, i have stated to not use any CRT, but however its still putting this function call in my object file... but there is no linkage to the run times... i think it has todo with the entry point..
this is the compile options:
link.exe /nologo /subsystem:windows /LIBPATH:"C:\Program Files\Microsoft Visual Studio 9.0\VC\lib" /LIBPATH:"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib" /LIBPATH:"C:\Program Files\Microsoft SDKs\Windows\v6.0\Lib" /out:..\bin\krnlldr.exe ntdll.lib obj\Release\main.cpp.obj /ENTRY:main /NODEFAULTLIB /SUBSYSTEM:WINDOWS /DRIVER /ALIGN:1 /INCREMENTAL:NO
main.cpp.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
main.cpp.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4
..\bin\krnlldr.exe : fatal error LNK1120: 1 unresolved externals
Process terminated with status 1120 (0 minutes, 0 seconds)
2 errors, 0 warnings
January 17th, 2008, 06:37 AM
Re: unresolved external symbol @__security_check_cookie@4
okay then let me ask this does anyone know how to override the real entry point behind main?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.