473,320 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Error i cant understand....

LoaderLock was detected
Message: DLL
'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct3 D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.D irect3D.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.

Hi guys, i get the above error in my constructor when i am initialising my
directx scene using code i have used before. I have just migrated back to
mdx 1.1 after the mdx 2.0 bombshell. Any ideas what it means?
Jan 7 '07 #1
3 1963
In visual Studio go to Debug - Exceptions... ->
A Dialog box will open:
Select Managed Debugging Assistants, you will see
LoaderLock node under it. Simple Uncheck the check box in front of it. Close
the Dialog and run the application again.
This will run smoothly.
Best Regards,
Rizwan aka RizwanSharp

"Daniel" wrote:
LoaderLock was detected
Message: DLL
'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct3 D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.D irect3D.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.

Hi guys, i get the above error in my constructor when i am initialising my
directx scene using code i have used before. I have just migrated back to
mdx 1.1 after the mdx 2.0 bombshell. Any ideas what it means?
Jan 7 '07 #2
So is it ok to just ignore it?
"RizwanSharp" <Ri*********@discussions.microsoft.comwrote in message
news:84**********************************@microsof t.com...
In visual Studio go to Debug - Exceptions... ->
A Dialog box will open:
Select Managed Debugging Assistants, you will see
LoaderLock node under it. Simple Uncheck the check box in front of it.
Close
the Dialog and run the application again.
This will run smoothly.
Best Regards,
Rizwan aka RizwanSharp

"Daniel" wrote:
>LoaderLock was detected
Message: DLL
'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct 3D\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.

Hi guys, i get the above error in my constructor when i am initialising
my
directx scene using code i have used before. I have just migrated back to
mdx 1.1 after the mdx 2.0 bombshell. Any ideas what it means?

Jan 7 '07 #3
I did find a resource, so thanks for the help and reassurance.

"RizwanSharp" <Ri*********@discussions.microsoft.comwrote in message
news:7D**********************************@microsof t.com...
Yes, This exception is only raised while you are developing and runnign
application under Visual Studio. If your application is ready then you can
simply turn that option back to on and compile it. Now running that exe by
double clicking will not raise any exception.
This is quite common issue in using DirectX on .Net 2.0 and you can find
many resources on web about this. I know this because I faced the same
problem about 4-5 days back whenn i was working on Direct Sound.
So dont worry and just keep dping your work.
Best Regards,
Rizwan aka RizwanSharp

"Daniel" wrote:
>So is it ok to just ignore it?
"RizwanSharp" <Ri*********@discussions.microsoft.comwrote in message
news:84**********************************@microso ft.com...
In visual Studio go to Debug - Exceptions... ->
A Dialog box will open:
Select Managed Debugging Assistants, you will see
LoaderLock node under it. Simple Uncheck the check box in front of it.
Close
the Dialog and run the application again.
This will run smoothly.
Best Regards,
Rizwan aka RizwanSharp

"Daniel" wrote:

LoaderLock was detected
Message: DLL
'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct 3D\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.

Hi guys, i get the above error in my constructor when i am
initialising
my
directx scene using code i have used before. I have just migrated back
to
mdx 1.1 after the mdx 2.0 bombshell. Any ideas what it means?



Jan 8 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Stuart Rogers | last post by:
I have just setup my website with a new linux hosting service. I have copied over my scripts and the jpgraph (the stable version) files from my working local lan linux server. The hosting service...
3
by: JP | last post by:
I need to be able to trap errors at the application level. I added this code to the Global.asax file. The code I wrote is supposed to get the last error that was generated and write to the event...
1
by: Andrew C | last post by:
I have a situation with a query that is formed by linking a whole lot of 2 column 'sub' queries to a 'main' query using left joins. The main query is a list of ID's and the sub queries all...
25
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from...
3
by: Kenneth P | last post by:
Hi, Something has happened with one of my vs.net2003 projects. I can't start it, it says "Visual Studio .Net cannot create or open the application because the current user account is not a...
13
by: JebBushell | last post by:
"Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for...
4
by: hathan | last post by:
Hi, i am trying to add a new row into a microsoft access database and cant understand why it wont work. Can anyone please help me understand what this means? The error message says: **************...
6
by: WolfgangS | last post by:
Ok first off, i am a total beginner at this groups stuff and i have no clue how this works. This is probabaly the wrong group for my problem but i will post it anyways. Learning by doing right? ...
1
by: =?Utf-8?B?amVubmlmZXI=?= | last post by:
Im sure this question has been asked but I cant seem to find an answer I understand. I have works 9 on vista. Everytime I try to open an attachment or send a document from it I get an error. I have...
6
by: chazzy69 | last post by:
So the function fopen() works most of the time heres the line im using- $file = fopen($nextPage, "r") or exit("Unable to open file!"); But for some reason that i haven't been able to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.