directx audio video error message in debugmode

Posted by clamp on Stack Overflow See other posts from Stack Overflow or by clamp
Published on 2009-08-11T09:10:52Z Indexed on 2010/05/01 6:57 UTC
Read the original article Hit count: 245

Filed under:
|
|
|
|

I have a c#/winforms application that uses directx to play some video and audio.

whenever i start my application in debugmode i get this annoying message. i can click "continue" and everything seems to work fine. but i still want to get rid of this message. it does not show up in releasemode.


Managed Debugging Assistant 'LoaderLock' has detected a problem in 'C:\pathtoexe.exe'. Additional Information: DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.AudioVideoPlayback\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.AudioVideoPlayback.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.


© Stack Overflow or respective owner

Related posts about directx

Related posts about c#