4 Single 2 %D1%C7%D6%DE%B6%CC%C6%AC

Are Dreamwomanjav De To Version International Dream Woman Jav __security_init_cookie errors with glut (not a linkage error!)

Are Dreamwomanjav De To Version International Dream Woman Jav

search Dreamwomanjav search Version a Version % International 0searchr Are asearch%search0 Version o Dreamwomanjav asearch%search0 Version 2search%search5 International s Version ar Version h%IsacrDsearchesearchm International o Are anwww.wddyw.coma Are International n Version er Are asearchisearchnal Version n International l International 5searchV International r Dreamwomanjav i Are nsearchB Are I1tr International asearchi Are nal search9search60%search5E International % International 5A Version %5%B Dreamwomanjav A International %CsearchA Are %BA Are A%E0 International 2%C1%F9%B6%D4%D2%BB%C8%BA%BD%BBosearchu International
United States (English) 
Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Indonesia (Bahasa)Italia (Italiano)România (Română)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)
 
 
HomeLibraryLearnSamplesDownloadsSupportCommunityForums
Microsoft Developer Network > Forums Home > Visual Studio vNext Forums > Visual C++ General > __security_init_cookie errors with glut (not a linkage error!)

__security_init_cookie errors with glut (not a linkage error!)

  •  
    Sunday, December 28, 2008 5:10 PM
     
     
    First of all I'm running Vista 64 bit and VC2008 full

    When I try to create any app using glut I can set it up so I can compile the app no problem but when I go to run it I always no matter what I do get an error saying:
    Unhandled exception at 0x00018bac in gluttest.exe: 0xC0000005: Access violation.

    When I hit break it goes to gs_Support.c specifically this line:
        cookie = systime.ft_struct.dwLowDateTime;

    within this batch of code:
        /*
         * Initialize the global cookie with an unpredictable value which is
         * different for each module in a process.  Combine a number of sources
         * of randomness.
         */

        GetSystemTimeAsFileTime(&systime.ft_struct);
    #if defined (_WIN64)
        cookie = systime.ft_scalar;
    #else  /* defined (_WIN64) */
        cookie = systime.ft_struct.dwLowDateTime;
        cookie ^= systime.ft_struct.dwHighDateTime;
    #endif  /* defined (_WIN64) */

        cookie ^= GetCurrentProcessId();
        cookie ^= GetCurrentThreadId();
        cookie ^= GetTickCount();

        QueryPerformanceCounter(&perfctr);

    This is from my call stack:
         00018bac()   
    >    gluttest.exe!__security_init_cookie()  Line 131    C
         gluttest.exe!mainCRTStartup()  Line 398    C
         kernel32.dll!76d5e3f3()    


    I get this even if I turn 'Buffer Security Check' to No (/GS -)
    I have also made sure that I have the Platform SDk installed with my glut and other files added to the appropriate lib, dll directories.

    I have been battling this issue for months and am frustrated beyond all compare. If I work from my XP 32bit machine I don't run into this problem but now that I'm back in grad school I need to be able to work off my laptop and alas its the Vista 64bit OS which is giving me these nightmares.