Hi,
I´m using Ultrawintoolbar now and I always get a Loadlock Exception when I close my Mainform and exit the Application.
LoaderLock was detectedLoaderLock was detected Message: 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.
Sometimes VS shows me a disassembly pointing to Infragistics.Win.UltraWinToolsbars.UltraToolbarsManager.HookProc
00000138 lea esp,[ebp-0Ch]
VS2008/WIN XP /Infragistics2.Win.UltraWinToolbars.v10.2/10.2.20102.1004
What is happening here?
Thanks
Hello,
I tried testing WinToolBarsManager by enabling Manager Debugging Assitants in my Visual Studio, but I was not able to reproduce the issue. May be there are some application level settings in your application or some code that could be causing it.
Can you please create a sample and send it to me so that I can reproduce it on my end and investigate the issue.
Thank you.
Hello Asma,
I get the same exception when running one of the ms unit test.
LoaderLock was detected
Message: 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.
The unit test is simply to create the instance of some UI screen.
The code snippet looks like
Assembly assembly = LoadAssembly(some assembly name...);
object entityUI = assembly.CreateInstance(UserInterface Full Name); return entityUI;
Please check the attached document for more details.
The unit test runs successfully, but ends giving message as "QTAgent32.exe has encountered a problem"
Please help with this.