[Mono-dev] Message Box running NUnit tests under Mono 1.1.17
Jon Chambers
joncham at gmail.com
Mon Sep 11 07:39:01 EDT 2006
Charlie,
This should be fixed now. I created a bug (#79355) to track this issue.
Please mark bug as verified when you get a chance to test this.
Thanks,
Jonathan
On 9/10/06, Charlie Poole <charlie at nunit.com> wrote:
>
> Hi Jonathan,
>
> The attached program demonstrates it. Compile with a ref to SWF. Execute
> with two args,
> the number of domains to create and the number of calls to make into eah
> one. As you
> would expect, the number of calls is irrelevant. The message box appears
> once for each
> domain except the first one.
>
> Charlie
>
> ------------------------------
> *From:* mono-devel-list-bounces at lists.ximian.com [mailto:
> mono-devel-list-bounces at lists.ximian.com] *On Behalf Of *Jon Chambers
> *Sent:* Sunday, September 10, 2006 9:25 AM
>
> *To:* Charlie Poole
> *Cc:* mono-devel-list at lists.ximian.com
> *Subject:* Re: [Mono-dev] Message Box running NUnit tests under Mono
> 1.1.17
>
> Charlie,
> I think I have this fixed, can you tell me exactly what I need to do
> (either through a reply or a bug report) to reproduce your issue an I'll
> verify?
>
> Thanks,
> Jonathan
>
> On 9/10/06, Jon Chambers <joncham at gmail.com> wrote:
> >
> > Charlie,
> > I think I understand the problem. The XplatUIWin32 registers a
> > window class shared by all the SWF windows. RegisterClass can only be called
> > once for a specific window name per process. XplatUI is a singleton, but
> > that's per app domain. I'm guessing you're loading MWF into multiple domains
> > within the same process. If I get a chance today, I'll try and fix it. I
> > guess we'll need to change the window name per app domain, because you can
> > have multiple domains existing, and each one needs to register a window
> > class with it's own callback.
> >
> > - Jonathan
> >
> >
> > On 9/10/06, Charlie Poole <charlie at nunit.com> wrote:
> > >
> > > Hi All,
> > >
> > > Running the NUnit tests under Mono 1.1.17 on Windows XP, a message
> > > box appears with the caption "Oops" and message
> > > "Could not register the SWFClass window class, win32 error 0"
> > >
> > > This happens when running the tests of the window gui, either
> > > under the gui or from the console. In the case of the console,
> > > this additional message appears in the console output
> > > "Mono System.Windows.Forms Assembly [$auto_build_revision$]
> > >
> > > In the case of the gui, clicking on Run a second time causes
> > > the gui to silently exit.
> > >
> > > Any suggestions? Could this be a configuration problem, or
> > > is it a bug?
> > >
> > > Charlie
> > >
> > >
> > >
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060911/4b91da8d/attachment.html
More information about the Mono-devel-list
mailing list