Friday, November 25, 2005

How to fix MSVS 6 when crashing in devshl.dll

If you experience a GPF in devshl.dll when starting VC++, try the following to see if it makes a difference. I posted these directions on a usenet newsgroup in response to a plea for help and a few people replied that it did the trick for them.

Start regedit Open HKCU\Software\Microsoft\DevStudio\6.0 (or 5.0). Select the Layout key Press F2 and rename it Layout.sav Try opening VC++ again If this fixes your GPF, close VC++, go back to regedit, delete the new Layout key and rename Layout.sav to Layout. Open the Layout key and find all the values whose names start with Layout(ie HKCU\Software\Microsoft\DevStudio\6.0\Layout: value Layout0) and delete them. If you can't find any values named Layout? using regedit, then try using regedt32 - the UI isn't as nice, but it's not as buggy as regedit.