GPF in Devshl.dll when starting VC++

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.



Comments

  • Can you explain this problem

    Posted by Legacy on 01/31/2003 12:00am

    Originally posted by: oij

    Thanks !
    I have reinstalled msdev and windows several times the problem was remaining.
    I came to codeguru and no problem now

    Reply
  • IPF in Kernel32.dll

    Posted by Legacy on 08/12/2002 12:00am

    Originally posted by: Ben Saucer

    When I start VC++ 6 I get MSDEV caused an IPF in Kernel32.dll How can I fix this?

    Reply
  • Layout?

    Posted by Legacy on 08/12/2002 12:00am

    Originally posted by: Ben Saucer

    I know how to use regedit, but I can't find a "Layout" key. I can't find "Regedt32" either. I have win98.

    Reply
  • Even worked for Debug return crash

    Posted by Legacy on 04/21/2002 12:00am

    Originally posted by: Matthew Clarke

    Thanks it even worked for a problem I had when exiting Debug mode and DEVSHL.DLL crashed.

    Thanks again.

    Reply
  • Works fine!

    Posted by Legacy on 01/23/2002 12:00am

    Originally posted by: Mikael

    It does the trick. You've saved my afternoon, thanks!
    /Mikael

    Reply
  • Thank you very much

    Posted by Legacy on 06/06/2001 12:00am

    Originally posted by: Franco Gerevini

    I am very grateful to you for this tip of yours. I was about to re-install Visual C++ when I had the good idea of searching the CodeGuru database. You saved me from hours of stress. Thank you very much. Franco

    Reply
  • Thanks, it worked!

    Posted by Legacy on 03/28/2001 12:00am

    Originally posted by: Namrata

    I tried to reinstall VC++ 5.0 twice but devshl.dll error was still coming. I tried this method and now it works fine. thanks.

    Reply
  • Thanks!!!

    Posted by Legacy on 02/11/2000 12:00am

    Originally posted by: John Graham

    Thanks, this did the trick.
    I can't believe I wasted 2 hours on this problem without coming to codeguru first.

    John

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Like many roles in the C-Suite, the CIO role is also changing. Its impact and control have been circumvented by cloud computing, the consumerization of IT, and employees that now have unprecedented access to technology. The role of the CIO is at a critical juncture. For some CIOs, the changing landscape reduces their scope of influence. For others, it means unprecedented opportunity. This eBook explores the changes that CIOs are experiencing today and how these executives can leverage their expertise to help …

  • The open source cloud computing project OpenStack has come a long way since NASA and Rackspace launched it in 2010. Backed by leading technology infrastructure providers including Cisco, Dell, EMC, HP, IBM, Intel, and VMware, OpenStack underpins significant workloads at an increasingly diverse set of organizations, including BWM, CERN, Comcast, eBay, and Wal-Mart. For CIOs engaged in broader programs to win, serve, and retain customers -- and refocus business technology (BT) spend -- a planned and pragmatic …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date