r6030 - CRT not initialized

Started by
1 comment, last by Tree Penguin 18 years, 9 months ago
I got this error all of the sudden, all i did was adding another char array to some class and it gave this error when running the program, without a clear reason why it would do that, all i did was adding that array of which there's already one in there. I looked in the msdn library and it said that specifying the entrypoint WinMainCRTStartup would fix it but it didn't. I am using the msvc++ 2005 beta, has anyone got any idea of how to fix it? Thanks.
Advertisement
Anyone? Or is there any way to initialize it myself?

Btw, using MFC.
Ok, i found the cause of the problem, some dll i linked linked another DLL that loads some settings at startup which uses the not yet loaded CRT libraries.

MFC applications seem to load CRT at a different time than normal Win32 application, i got no idea why, the functions that made it crash at startup work fine at any other time.

This topic is closed to new replies.

Advertisement