Why do my CRT-free applications intermittently crash on startup?

后端 未结 1 1880
旧时难觅i
旧时难觅i 2020-12-06 07:24

For example, this application:

#define _WIN32_WINNT 0x0500

#include 

int __stdcall NoCRTMain(void) 
{
    int result;

    PWSTR lpCmdLine         


        
相关标签:
1条回答
  • 2020-12-06 08:05

    A year on, I'm finally confident in claiming that Hans' suggestion has worked perfectly: if the application is built with the /DYNAMICBASE:NO and /FIXED:YES options, the problem does not occur.

    0 讨论(0)
提交回复
热议问题