In Part II – Introduction to DirectX right before 3D Graphics Terminology when I try to debug and test I get the following exception:
LoaderLock was detectedI've read some help material on LoaderLock, but that didn't really help me. How to solve this?
Message: DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct3D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.Direct3D.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.
EDIT: Never mind, I've looked around on the MSDN forums and it appears this problem has something to do with version conflicts. I've already found a way around this.
If you happen to have the same problem, look here for help: http://search.msdn.microsoft.com/search/default.aspx?__VIEWSTATE=&query=LoaderLock+was+detected&siteid=0&tab=1