1
Reply

Issue with DLLMain Microsoft.DirectX.DirectSound.dll

Santhosh Ssquare

Santhosh Ssquare

Sep 12 2016 2:23 AM
232
I have developed a windows forms app.
When i try for unit testing, i was unable debug the app.. when i try to create instance of it.. it throws an exception like
 
DLL 'C:\xxxxxxx\xxxxx\Microsoft.DirectX.DirectSound.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.
 
 
 
How to get rid of this problem?

Upload Source Code  Select only zip and rar file.
Answers (1)