Visual C++ 6.0 for Win98 does not link correctly on WindowsXP

Posted on 2003-03-04
Medium Priority
Last Modified: 2013-12-14
I recently bought a new computer with WindowsXP.  I tried loading Visual C++ 6.0 that I used with Windows 98, but it will not run correctly.  The installation process was successful.  When I tried to build a program the program compiled, but did not link or build an executable.  I could export the program to a MAKfile and execute it successfully at the DOS command, but not in the application.  The application says there is a missing dll file, and to reload the application.  I've reloaded several time with no success.  Is there additional settings/configurations that need to be changed to make Visual C++ work?

Question by:koffer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8064613
If I program doesn't build it usually means you do not have a main .cpp file

Expert Comment

ID: 8064805
can u name which all files r missing


Author Comment

ID: 8064906
I wrote the actual program in C rather than C++, and the missing dll file is indicated by a box symbol (square).dll (I'm assuming the symbol for the dll file is missing).
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 30

Expert Comment

ID: 8068478
Did you install the lastest service packs for both VC++ 6.0 and for Windows XP?
Also, have you installed the latest SDK.

You can get both the service packs and the latest SDK's from the MS web site.

Author Comment

ID: 8076224
I have installed the lastest service packs for Window XP and VC++ 6.0.  I have not loaded the latest SDK, and I'm not sure if I need the SDK much less which one that is needed.  Any suggestions?
LVL 30

Expert Comment

ID: 8076646
I recommend you get the entire Windows SDK.
You can download it from the following link FREE:

When I first switched from Windows98 to WindowsXP, I also had a problem getting VC++ 6.0 to work.

I installed the lastest Service packs for both XP and VC.
And then I installed the latest SDK.

Afterwards, VC++ 6.0 started working just fine.
I don't know which on fixed the problem, but in any case, I highly recommend you do all.

Author Comment

ID: 8089065
I loaded the entire Windows SDK, and had no success.  When I try to open a Workspace, I get the error that I mentioned above as well as "This required file cannot be loaded.  Please re-install Microsoft Visual C++."  If I try to open a new console application and name it, I get, "The project directory no longer exists, please choose a different directory."  If I try to link and execute in the workspace, I get a link.exe error twice.  The error is, "The application failed to initialize properly (0xc0000005).

Thanks for the help,
LVL 30

Expert Comment

ID: 8089179
I recommend you then remove VC++ 6.0 completely, and then reinstall it.

When you remove it, make sure you clean the registery, and delete the entire contents of the folder that contains VC++ 6.0. (C:\Program Files\Microsoft Visual Studio).

WARNING: Before deleting the folder, make sure you back up any files you need like project files in "C:\Program Files\Microsoft Visual Studio\MyProjects".

After you're sure you've completely removed the old installation, then reinstall VC++ 6.0 from scratch.

You don't have to delete the newly uploaded SDK, and this should be in a separate path from the main VC++ 6.0 directory.

Don't forget to install the patch, and to change the default directories to point to the new SDK after reinstall VC.
LVL 11

Expert Comment

ID: 9887975
No comment has been added lately, so it's time to clean up this TA. I will
leave a recommendation in the Cleanup topic area that this question is:

Answered: Points to Axter: Grade A

Please leave any comments here within the next seven days.

Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (http://www.experts-exchange.com/help.jsp#hi73).


-bcl (bcladd)
EE Cleanup Volunteer

Accepted Solution

koffer earned 0 total points
ID: 9890508
I did find a solution to loading Visual C++ 6.0 in the WindowsXP environment.  Without touching the registry, I reloaded the program under a different program file folder name and it works.  

Thank you for all the suggestions.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question