Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion "Managed Debugging Assistant 'LoaderLock' has detected a problem in
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
mohan@tek.com  
View profile   Translate to Translated (View Original)
 More options 5 June 2006, 07:32
Newsgroups: microsoft.public.dotnet.framework.clr
From: "mo...@tek.com" <mo...@tek.com>
Date: 4 Jun 2006 23:32:52 -0700
Local: Mon 5 June 2006 07:32
Subject: "Managed Debugging Assistant 'LoaderLock' has detected a problem in
Hi all,

I have ported my VB.Net project from VS2003 to VS2005. I am facing two
issues while running my applications:
Issue1:
 I am calling some managed dlls (developed in C#) from my Vb .net .
Whne I
debug the code,Iam getting the following Error message.

"Managed Debugging Assistant 'LoaderLock' has detected a problem in
'F:\VBSource\bin\Debug\TekRobo.exe'.
Additional Information: DLL 'F:\VBSource\bin\Debug\Tekspyhook.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."

How to resolve the above error?

i ssue2:

I am calling mainform instance (static variable) from other VB .net
modules
from the same projects.In VS2003 ,I did not face any issues. But in
VS2005 ,I
am getting the following exception. P.s  I am running the application
under
thread.

"A first chance exception of type 'System.InvalidOperationException'
occurred in System.Windows.Forms.dll
Additional information: Cross-thread operation not valid: Control
'StressTest' accessed from a thread other than the thread it was
created on."

it would be greatful ,if any one help me to resolve the above two
issues.
Thanks
Mohan
  Was this


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google