|
-
Apr 20th, 2009, 09:02 AM
#1
Thread Starter
Addicted Member
LoaderLock error, help?
I'm using an AutoDesk Inventor View API (dont think it matters for this question) placed on my form. I can call files and have them open without issue, only when I open assemblies (drawing files) I get this error:
"LoaderLock was detected: 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."
I dont expect anyone to know much about the API, however I assume this is a common error. Does anyone know what's going wrong here? Or how to fix it?
-
Apr 20th, 2009, 09:20 AM
#2
Re: LoaderLock error, help?
I'll be honest, I've never seen an error like that before but seems a few other people are having similar issues,
http://social.msdn.microsoft.com/For...9-903729eb636f
Hope that helps
-
Apr 20th, 2009, 09:34 AM
#3
Thread Starter
Addicted Member
Re: LoaderLock error, help?
Well the API is a DirectX Widget. You create a window on the form, and assign it a file name (part file). It will then bring up a 3D image of that part allowing for rotation and zooming of the part.
I get the error when calling a new part in the code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|