Sign in to follow this  
Tree Penguin

r6030 - CRT not initialized

Recommended Posts

Tree Penguin    262
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.

Share this post


Link to post
Share on other sites
Tree Penguin    262
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this