Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
3.33/5 (3 votes)
See more:
I have an error when i code my program.Can anyone help me?
This is message displayed when i ran my program:
"
DLL
'C:\WINDOWS\assembly\GAC\Microsft.DirectX\1.0.2902.0_31bf3856ad364e35\Microsft.DirectX.dll' is attempting managed execution inside OS Loader lok.Do not attempt to run managed code inside a DllMain or image initialization fuction since doing so can cause the application to hang.
"
This is at all.
Thanks for any help!
Posted

Seems that is a known issue with direct x.

Check this http://vivekthangaswamy.blogspot.mx/2006/11/loaderlock-was-detected-error-when.html[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900