473,465 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Visual C++ 2005 upgrade problems

Hi,
Currently, I am working on converting C++ applications written with C++ 6.0
to C++ 2005. I can compile the applications fine after slight modifications
but when I run applications, I am getting two different types of errors.

1 - The application failed to initialize properly (0xc0000005). Click OK to
terminate the application

2 - R6031. Attempt to initialize the CRT more than once. This indicates a
bug in your application

Some facts:

- Neither of the errors are due to missing dependencies. (I can verify this
by using dependencywalker)
- All the apps that crash are unmanaged dll's, and are not compiled with the
CLR option.
- Their C++ 6.0 versions run just fine.
-All underlying dll's have been compiled with VS 2005 as well, without the
CLR option

Any ideas will be appreciated.
Sep 21 '06 #1
1 1614
Currently, I am working on converting C++ applications written with C++
6.0
to C++ 2005. I can compile the applications fine after slight
modifications
but when I run applications, I am getting two different types of errors.

1 - The application failed to initialize properly (0xc0000005). Click OK
to
terminate the application

2 - R6031. Attempt to initialize the CRT more than once. This indicates a
bug in your application
There is a huge difference between those 2 compilers (almost 10 years) so it
is perfectly possible that code worked perfectly in VC6, but no longer in
VC2005. At least, this can happen if the original program uses behavior that
is undefined at some point.
The best thing to do is to step through your program and see where the crash
happens.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Sep 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: Cowboy \(Gregory A. Beamer\) | last post by:
There seems to be a lot of confusion on the versions of Visual Studio 2005. My latest blog entry covers the different versions: Main URL:...
3
by: Shapper | last post by:
Hello, I am starting 2 new projects to deliver in January 2006. I want to create them in Asp.Net 2.0 using Visual Studio 2005. All my clients web sites are Visual Studio 2003 projects in...
2
by: W C Hull | last post by:
Now that Visual Studio 2005 has been out a while I'm hoping that someone can give me some insight on what version to upgrade to (standard or professional). I went out on Microsoft's site and...
0
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
9
by: Leon | last post by:
Hi Everybody. I have my website developed in VS 2003. Now I want to upgrade my website to VS 2005 and develop new web pages in a new environment. What steps should I take to upgrade? I cannot find...
2
by: KR | last post by:
Hi, We are running a test upgrade form sql 2000 standard edition to sql 2005 developer edition. Followed through all the steps and specified the account(SA priveleges and currently used by the...
4
by: =?Utf-8?B?VG9tIE5vd2Fr?= | last post by:
I have a full version of Visual Basic 6 and upgrade versions of Visual Studio 2002, 2003, and 2005. What is the easiest way to do the install? I know in the past, I have done Visual Basic 6, then...
3
by: Andy B | last post by:
Is there anything special you have to do to upgrade or transfer a vs2005 solution to a vs2008 solution? Or do you just open it in vs2008 and follow some directions?
5
by: =?Utf-8?B?QXJuZSBHYXJ2YW5kZXI=?= | last post by:
Does Visual Studio 2005 and Visual Studio 2008 work well together on a Vista computer? I am having some issues with Ajax development. Neither VS2005 nor VS 2008 work well since I installed Visual...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.