r6030 - CRT not initialized
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.
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.
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
Popular Topics
Advertisement