CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005
    Netherlands, The

    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

  2. #2
    Join Date
    Aug 2005
    Netherlands, The

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.