|
-
July 31st, 2006, 07:21 AM
#1
Attempt to initialize the CRT more than once....
I have an application, when i run this, it reports the following error.
Runtime Error
R6034
An application has made an attempt to load the C runtime library incorrectly.
 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 ?
Last edited by Vedam Shashank; July 31st, 2006 at 07:24 AM.
C++ program ran... C++ program crashed... C++ programmer quit !!   
Regards
Shaq
-
July 31st, 2006, 07:24 AM
#2
Re: Attempt to initialize the CRT more than once....
Regards,
Ramkrishna Pawar
-
July 31st, 2006, 07:29 AM
#3
Re: Attempt to initialize the CRT more than once....
whoa..... that was quicker than quick... :-)
thanks
C++ program ran... C++ program crashed... C++ programmer quit !!   
Regards
Shaq
-
July 31st, 2006, 07:42 AM
#4
Re: Attempt to initialize the CRT more than once....
 Originally Posted by Krishnaa
I looked into the project settings. A manifest is already being generated and embedded into the exe.
C++ program ran... C++ program crashed... C++ programmer quit !!   
Regards
Shaq
-
July 31st, 2006, 08:41 AM
#5
Re: Attempt to initialize the CRT more than once....
try setting multithreading dll to multithreading
-
August 1st, 2006, 02:05 AM
#6
Re: Attempt to initialize the CRT more than once....
 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 ?
Last edited by Vedam Shashank; August 1st, 2006 at 02:11 AM.
C++ program ran... C++ program crashed... C++ programmer quit !!   
Regards
Shaq
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|