home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
LoaderLock Exception when running Fetchers on Dev Box
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ChubbyArse" data-source="post: 1073093" data-attributes="member: 117700"><p>Hi, I thought I'd document my solution to a exception that gettsing thrown by DirectX when testing my code that calls the IMDBFetcher on my Dev Box.</p><p></p><p>The exception states: </p><p></p><p>LoaderLock occurred</p><p>Message: Managed Debugging Assistant 'LoaderLock' has detected a problem in 'D:\Work\EpgMovieGuide\trunk\ConfigurationTestHarness\bin\Debug\ConfigurationTestHarness.vshost.exe'.</p><p>Additional information: DLL 'C:\Windows\assembly\GAC\Microsoft.DirectX.Direct3D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.Direct3D.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.</p><p></p><p>The exception detail has only: "The name '$exception' does not exist in the current context"</p><p></p><p>In order to get past this exception when testing locally, Go to the debug menu, then pick exceptions, and then expand Managed Debugging Assistants, and uncheck throw for LoaderLock.</p><p></p><p>Taken from <a href="http://social.msdn.microsoft.com/Forums/en-US/40941c6e-6d79-4c39-bef5-7e2835b1a9f4/directx-loaderlock-error" target="_blank">here</a>.</p><p></p><p>Hopefully other newbies find this useful.</p></blockquote><p></p>
[QUOTE="ChubbyArse, post: 1073093, member: 117700"] Hi, I thought I'd document my solution to a exception that gettsing thrown by DirectX when testing my code that calls the IMDBFetcher on my Dev Box. The exception states: LoaderLock occurred Message: Managed Debugging Assistant 'LoaderLock' has detected a problem in 'D:\Work\EpgMovieGuide\trunk\ConfigurationTestHarness\bin\Debug\ConfigurationTestHarness.vshost.exe'. Additional information: DLL 'C:\Windows\assembly\GAC\Microsoft.DirectX.Direct3D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.Direct3D.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. The exception detail has only: "The name '$exception' does not exist in the current context" In order to get past this exception when testing locally, Go to the debug menu, then pick exceptions, and then expand Managed Debugging Assistants, and uncheck throw for LoaderLock. Taken from [URL='http://social.msdn.microsoft.com/Forums/en-US/40941c6e-6d79-4c39-bef5-7e2835b1a9f4/directx-loaderlock-error']here[/URL]. Hopefully other newbies find this useful. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
LoaderLock Exception when running Fetchers on Dev Box
Contact us
RSS
Top
Bottom