Re: Strange Behavior

Steve Abaffy <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <014601c7806f$5bb08a10$13119e30$@biz>
The error I get simply by hitting the ctrl key is:

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.

Not even sure what that means.


-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps and
controls [mailto:[email protected]] On Behalf Of Peter
Ritchie
Sent: Monday, April 09, 2007 8:45 PM
To: [email protected]
Subject: Re: [DOTNET-WINFORMS] Strange Behavior

Errors?  What errors?

You're saying simply pressing the Ctrl key causes an error?

On Mon, 9 Apr 2007 17:48:41 -0500, Steve Abaffy <[email protected]>
wrote:

>I have a ListBox whose selectionMode is set to MultiExtened.
>
>Pseudo code to follow.
>
>In MainFormMenu:
>Select MenuItem1
>CassCertify CC = new CassCertify();
>
>CC.ShowDialog();
>
>CassCertify Form pops up.
>Select OpenFile Button on CC Form.
>Populate Listbox on form from file.
>Select an item in list box
>Press ctrl key
>CC.ShowDialog() in main form --- Debug stops and errors out.
>
>The question obviously is why is it going back to the Main form and trying
>to run the CC.ShowDialog() command again at this point?
>
>Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.