Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change default Visual C++ version 3

Status
Not open for further replies.

Bork

Programmer
Apr 18, 2001
7
CA
I have two versions of my app. The older one was created in Visual C++ 4.1, and I'm maintaining it there. The newer version is being developed in Visual C++ 6.0, which was of course installed more recently.

I am doing some revisions to the old version, under 4.1. When 'Execute' finds a problem and asks if I want to debug, I say yes...and it starts up 6.0 on top of my already running 4.1.

How can I get it to start 4.1 at debug time instead?
 
Hi Bork,

Even I had the same problem ,only that VC5.0 debugger used
to start for an executable session in VC6.0. This is how i solved it....

Start the program "regedit". In the window, search for
the string "devbld.pkg" (or devbld). When you find it, mostly there will be two keys one under a key named "6.0" and another under a key named "4.1". Mostly the one with "6.0" will be above the one with "4.1" (Hence debug makes 6.0 come up). Delete the 6.0 key and its children (This can be done by a mouse right-click and Delete). You must be ok now...

abp :)
 
abp...Thanks for the quick response.

(1) When I look in the registry, the only keys under devbld.pkg are for 6.0; I don't see any sign of 4.1.

(2) Even if I could find 4.1, I would be nervous about deleting a key for 6.0, since I will be wanting to use 6.0 when I work on my other projects.

Any ideas on either of these?

--Bork
 
Well the regedit fix is permanent and affects all occurences. So the only way around your problem would seem to be to give into Bill and migrate to 6.0.
 
When you install a copy of visual studio 6.0, it makes itself the system default debugger. You'll notice that after installing it, you never see Dr. Watson again -- the VC++ package replaces him as the handler of unexplained errors.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top