Attempt to initialize the CRT more than once....
I have an application, when i run this, it reports the following error.
Quote:
Runtime Error
R6034
An application has made an attempt to load the C runtime library incorrectly.
Quote:
Originally Posted by ErrorNum - R6034
C Run-Time Error R6031
Error Message
Attempt to initialize the CRT more than once. This indicates a bug in your application.
This diagnostic indicates that MSIL instructions were executing during loader lock. For more information, see
Initialization of Mixed Assemblies.
This is what I know about the history of the application, as of now.
All was well, this was when the modules were built using VS 6.0.
Now that, things have been ported to VS 8.0, this is what I came across.
I am quite lost where to start looking?
Settings ? but what ?
Re: Attempt to initialize the CRT more than once....
Re: Attempt to initialize the CRT more than once....
whoa..... that was quicker than quick... :-)
thanks
Re: Attempt to initialize the CRT more than once....
Quote:
Originally Posted by Krishnaa
I looked into the project settings. A manifest is already being generated and embedded into the exe.
Re: Attempt to initialize the CRT more than once....
try setting multithreading dll to multithreading
Re: Attempt to initialize the CRT more than once....
Quote:
Originally Posted by Krishnaa
I found the problem.
but it seems strange to me..... maybe someone cud tell me what is goin on here.....
The exe has a manifest embedded into it.... looks like the build some how manages to include the manifest file into the build and it is also available wherever the exe is located... when i delete the manifest file all works well. (I deleted it since manifest is already embedded)
Cud someone let me know why this happened? why it fails when the manifest is also included
Is there a way to find if the manifest is the "right manifest" for the exe ?