
Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
Hi Carlos J,
Thanks very much. I got it. I have one more questions. I have ported my
VS2003 VB.Net projects to VS2005. In my project, I have declared one static
variable for main form and using that variable in many modules to close the
main form.
Iam running this under theread.
After porting to VS2005, I am getting some errors . Can you please help me
out how to resolve this? Also I have used some mixed dlls in my projects. I
am getting following exceptions :
"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."
Can you please help me to resolve the above issues?
Thanks,
Mohan

Signature
Mohan
> Hi Mohan,
>
[quoted text clipped - 10 lines]
> > but
> > it is disbaled.
Carlos J. Quintero [VB MVP] - 19 May 2006 09:12 GMT
Hi,
In the future open a new thread in the newsgroup if the new question
unrelated to the previous one.
That said, you can learn about the new Managed Debugging Assistants (MDAs)
of VS 2005 and how to turn them off in the VS help or here:
Let The CLR Find Bugs For You With Managed Debugging Assistants
http://msdn.microsoft.com/msdnmag/issues/06/05/BugBash/default.aspx

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Hi Carlos J,
>
[quoted text clipped - 38 lines]
>> > but
>> > it is disbaled.