Delta Engine Blog

AI, Robotics, multiplatform game development and Strict programming language

How to disable the "Loader Lock" debug window in Visual Studio 2005 when using Managed DirectX

Today I made some progress on my BooLanguage implementation in Visual Studio 2005, I hope I can release some early version later this week.

But today I will show you a important tip ZMan has already reported about here: Why do I get a 'Loader Lock' Error when debugging my Managed DirectX application

Very often when you try to debug your Managed DirectX application in Visual Studio 2005 you get this very annoying "Loader Lock" window when starting to debug your application. It is caused by the Managed DirectX for .NET 1.1 runtime while using .NET 2.0 of your project. Such a loader lock looks like this:

You can press F5 to continue, but if you get 3-4 of them every time you start your project it gets very annoying, especially because VS seems to lag very bad because of this windows.

To fix this just press Ctrl+D, +E (hold down Ctrl for both keys) and disable the LoaderLock exception to be thrown in the Managed Debugging Assistants category:

From now on enjoy your application to start immediatly instead of waiting around all day and pressing F5 like a mad man :)

Comments (7) -

  • football programme

    4/29/2010 9:18:02 AM |

    Thanks for sharing your thoughts with us very helpful for our safety... they are really interesting.. I would like to read more from you.

  • atlanticOptimize

    4/29/2010 8:48:33 PM |

    I am very glad to see such information which I was searching for a long time.This made very glad Smile.This really helps me to find the answers to my question. Hoping that you will continue posting an article having a useful information.

  • chimney leaks

    4/30/2010 11:10:10 AM |

    I am very glad to see such information which I was searching for a long time.This made very glad Smile.This really helps me to find the answers to my question. Hoping that you will continue posting an article having a useful information.

  • Home Remodeling

    5/3/2010 11:13:38 AM |

    I just tried many methods but this is really easy and pretty fast to work. I was browsing for this method since from a day. But I am not satified with the others providence. this made me feel comfortable.

  • avg free download

    5/3/2010 6:38:54 PM |

    I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.  проститутки Москвы

  • discount perfume

    5/18/2010 5:01:45 PM |

    This is a really good read for me. Must agree that you are one of the coolest blogger I ever saw. Thanks for posting this useful information. This was just what I was on  looking for. I'll come back to this blog for sure!

  • kitchen taps

    5/19/2010 9:13:51 AM |

    Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.

Comments are closed