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?

Tapan PatelPosted Sep 12, 2016, 10:27 AM