PC Review


Reply
Thread Tools Rate Thread

Running DirectX.Net Applications inside VS?

 
 
Alex Maghen
Guest
Posts: n/a
 
      12th Feb 2009
I am trying to run my application from inside Visual Studio. It uses the
Managed DirectX SDK. When I run it from INSIDE VS, I get this runtime error:

"LoaderLock was detected
Message: DLL
'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."

If I then go and run it from OUTSIDE the VS IDE, it runs fine, but then I
don't ge the advantages of debugging, etc. What's this about?

Thanks.

Alex

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running DirectX.Net Applications inside VS? Alex Maghen Microsoft Dot NET Framework Forms 2 16th Feb 2009 03:47 AM
Running DirectX.Net Applications inside VS? Alex Maghen Microsoft Dot NET Framework Forms 0 12th Feb 2009 05:49 AM
Running applications INSIDE Start menu Ashton Windows XP Customization 1 14th May 2006 08:20 PM
Resizing FRAMESET inside of IFRAME inside of TABLE - Bug? =?Utf-8?B?QW5kcmUgVmllbnM=?= Windows XP Internet Explorer 0 13th Oct 2004 02:43 PM
ZFD Data which I found inside my software section inside HKEY LOCAL MACHINE Terence Windows XP General 0 6th Apr 2004 03:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:44 AM.