cugone Posted June 11, 2008 Posted June 11, 2008 I'm having trouble initializing a DirectX.DirectInput custom class Keyboard, I keep getting this error: "DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.DirectInput\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.DirectInput.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." Using Visual Studio 2005 Quote
Administrators PlausiblyDamp Posted June 11, 2008 Administrators Posted June 11, 2008 It is a known problem, http://vivekthangaswamy.blogspot.com/2006/11/loaderlock-was-detected-error-when.html might be of some use in preventing it though. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.