Click here to Skip to main content
Licence 
First Posted 17 Jan 2000
Views 62,255
Bookmarked 16 times

Fixing the GPF in Devshl.dll when starting VC++ 5 or 6

By Sean Echevarria | 17 Jan 2000
Having problems with Devshl.dll? Don't reinstall Visual Studio until you've read this!

1

2

3
1 vote, 20.0%
4
4 votes, 80.0%
5
4.50/5 - 22 votes
μ 4.50, σa 0.78 [?]

If you experience a GPF in devshl.dll when starting VC++, try the following (especially if the last time VC++ ran, you installed an addin or customized toolbars or menus).

  1. Start regedit
  2. Open HKCU\Software\Microsoft\DevStudio\6.0 (or 5.0)
  3. Select the Layout key
  4. Press F2 and rename it Layout.sav
  5. Try opening VC++ again
  6. If this doesn't allow VC++ to startup, reverse the key name change. Consider swapping in the mfc*.dlls from your VC CDs.
  7. If this does allow VC++ to start, go to the next section (Fixing the Layout Key)

Fixing the Layout key

Warning: you will lose some of your IDE customizations (window placement, toolbars, etc)
  1. Close VC++
  2. In regedit, delete the new Layout key
  3. Rename Layout.sav to Layout
  4. Open the Layout key, 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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Sean Echevarria



United States United States

Member


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralIDE /MSDN misery PinmemberWill26:25 22 Jul '03  
GeneralRe: IDE /MSDN misery Pinmemberpietjepuk754:41 2 Aug '03  
GeneralYou are great! PinmemberYariv Amar11:16 10 Mar '02  
GeneralWMP and DevShl PinmemberColin Davies22:22 11 Jan '02  
GeneralAlso works for Visual Test PinmemberKurt V10:08 2 Jul '01  
GeneralJust backup... PinsussPaul Selormey20:52 27 Jan '00  
QuestionRe: Just backup... Pinmemberpotesanj21:21 1 Feb '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120209.1 | Last Updated 18 Jan 2000
Article Copyright 2000 by Sean Echevarria
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid