Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion "Managed Debugging Assistant 'LoaderLock' has detected a problem in

View Parsed - Show only message text

Path: g2news2.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
From: "mo...@tek.com" <mo...@tek.com>
Newsgroups: microsoft.public.dotnet.framework.clr
Subject: "Managed Debugging Assistant 'LoaderLock' has detected a problem in
Date: 4 Jun 2006 23:32:52 -0700
Organization: http://groups.google.com
Lines: 41
Message-ID: <1149489172.672028.192690@i39g2000cwa.googlegroups.com>
NNTP-Posting-Host: 164.164.160.66
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1149489176 30103 127.0.0.1 (5 Jun 2006 06:32:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 5 Jun 2006 06:32:56 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 AP-BANG-G02
Complaints-To: groups-abuse@google.com
Injection-Info: i39g2000cwa.googlegroups.com; posting-host=164.164.160.66;
   posting-account=3QVAow0AAABxaEtUSla9EBFTvIsiWA8q

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


Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google