By on 6/18/2010 3:24 AM ()

Many thanks for your quick answer.

However my problems are a little bit deeper: I can compile simple VS2010 solutions with F# and DirectX to exe-files. However I get a Loader Lock when I try to execute my exe file:

'C:\Windows\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.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.

What I'm looking for is a simple sample with the following ingredients: F#, DirectX and compiled to an .exe file.

By on 6/18/2010 5:58 AM ()

Have you tried unchecking the LoaderLock checkbox under
Debug -> Exceptions -> Managed Debug Assistants ?

By on 6/18/2010 6:06 AM ()

Many thanks! This solves the problem!

By on 6/18/2010 7:44 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper