﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Issues  / LoaderLock  exception / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Sat, 22 Nov 2008 03:42:15 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: LoaderLock  exception</title><link>http://forum.strataframe.net/Topic1362-10-1.aspx</link><description>That's very odd.  I've never heard of a LoaderLockException, Kari.  Thanks for the heads up; I'll keep my eyes peeled. &lt;P&gt;Oh, and if anyone cannot get to the Exceptions dialog under the Debug menu, you might have to "customize" the toolbars and add the command.  I believe the default shortcut for the Exceptions dialog is Ctrl+Alt+e.</description><pubDate>Sat, 03 Jun 2006 14:33:37 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>LoaderLock  exception</title><link>http://forum.strataframe.net/Topic1362-10-1.aspx</link><description>Hi,&lt;BR&gt;&lt;BR&gt;don't know if one should be worried about this but in case some one else runs into the same, here is what happened:&lt;/P&gt;&lt;P&gt;I have in a form a button that issues a SQL Retrieval command [ BO_Emp.FillAll() ] to populate the form. So, the form is displayed and if the button is clicked, data is retrieved into the form.&lt;/P&gt;&lt;P&gt;Doing this - in debug mode - caused a "LoaderLock" exception that said:&lt;/P&gt;&lt;P&gt;"..is attempting managed execution inside OS Loader lock. Do not attempt to&lt;BR&gt; run managed code inside a DllMain or image initialization function&lt;BR&gt; since  doing so can cause the application to hang."&lt;BR&gt;&lt;BR&gt;Searching the www, I found the following:&lt;/P&gt;&lt;P&gt;"From the Debug menu, find the exceptions,&lt;BR&gt;The under Managed exception, Remove the LoaderLock exception, this will prevent that exception..."&lt;/P&gt;&lt;P&gt;Doing this made the thing to work ok.&lt;BR&gt;&lt;BR&gt;Don't quite know if one should do something here...&lt;BR&gt;&lt;BR&gt;Cheers,&lt;BR&gt;Kari</description><pubDate>Sat, 03 Jun 2006 11:17:00 GMT</pubDate><dc:creator>Kari Paukku</dc:creator></item></channel></rss>