GPF in Devshl.dll when starting VC++

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

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
  • 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
  • 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
  • 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

  • Whether a mandate to secure all web and mobile apps comes from a newly enlightened CIO or in response to a major security breach, beginning even a small application security program can be a daunting task. How will you know how many digital assets you have, let alone their risk profile? In this webinar we explore how, using a cloud solution like Fortify on Demand, even the largest organizations can begin to scan apps immediately and rapidly scale an application security program. Identify and risk rank assets, …

  • Many enterprises are working with an IT architecture that's evolved over time. As business needs evolve, IT must decide whether to modernize incrementally, or all at once. Each approach has its benefits and drawbacks. Identity Management is key to modernizing IT; it plays a crucial role in migrating to cloud apps like Office 365 or HR information systems, building web and mobile apps, and opening developer access to business systems. Read how Okta's modern approach to identity management helps business lower …

Most Popular Programming Stories

More for Developers

RSS Feeds

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