Sign in to follow this  

r6030 - CRT not initialized

This topic is 4544 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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

This topic is 4544 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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