Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 540
  • Last Modified:

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

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?

1 Solution
If I program doesn't build it usually means you do not have a main .cpp file
can u name which all files r missing

kofferAuthor Commented:
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).
Technology Partners: 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!

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.
kofferAuthor Commented:
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?
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.
kofferAuthor Commented:
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,
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.
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
kofferAuthor Commented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now