Add your project
// PROTECT FOR ENTERCRITIALSECTION DEADLOCK
extern "C" const IMAGE_LOAD_CONFIG_DIRECTORY _load_config_used =
{
sizeof(IMAGE_LOAD_CONFIG_DIRECTORY),
0,
0,
0,
0,
0,
2000, // CriticalSectionDefaultTimeout msec
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
};