c# - loaderlock MDA - later in the application execution -



c# - loaderlock MDA - later in the application execution -

here's problem have when running app, , isn't in startup routing, much later on:

managed debugging assistant 'loaderlock' has detected problem in 'c:\projects\videophill\playerrac\recorder\videphill recorder test\bin\x86\debug\videophillrecorder.vshost.exe'. additional information: dll 'c:\windows\assembly\gac\microsoft.directx.directsound\1.0.2902.0__31bf3856ad364e35\microsoft.directx.directsound.dll' attempting managed execution within os loader lock. not effort run managed code within dllmain or image initialization function since doing can cause application hang.

why? look? causes me problem while debuging, not in runtime.

that mda has knack giving false warnings. clr loaded , initialized time directx wrappers getting loaded, programme doesn't hang. debug + exceptions, expand managed debugging assistants node , untick "loaderlock" stops nagging you.

do avoid expending lot of energy on mdx, has been declared obsolete quite while ago. replaced xna framework. there open source wrappers floating around (slimdx, sharpdx, directshow.net). can't comment on prowess.

c# interop

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -