AW: AW: [Mono-osx] Problems with first WinForms Hello World

Stefan Csomor csomor@advancedconcepts.ch
Tue, 12 Apr 2005 16:22:32 +0200


Hi=20

Console is the application you have in the utilities, there is the =
Terminal (which in other worlds is called 'console' ;-) which you use =
for entering the commands and you have the Console.app that displays =
extensive error information when something goes wrong, it usually has =
better information than just a CrashLog also.

HTH,

stefan

> -----Original Message-----
> From: mono-osx-admin@lists.ximian.com [mailto:mono-osx-
> admin@lists.ximian.com] On Behalf Of Armin Arnegger
> Sent: Dienstag, 12. April 2005 15:11
> To: 'kangaroo'
> Cc: mono-osx@lists.ximian.com
> Subject: AW: AW: AW: [Mono-osx] Problems with first WinForms Hello =
World
>=20
> After macpacking; I running from Xterminal Window with "mono =
Hello.exe"
> Or
> I double click on finder.
>=20
> What do you mean with Console.app ?
>=20
> Thanks
> Armin
>=20
>=20
> -----Urspr=FCngliche Nachricht-----
> Von: kangaroo [mailto:grompf@sublimeintervention.com]
> Gesendet: Dienstag, 12. April 2005 08:44
> An: Armin Arnegger
> Cc: mono-osx@lists.ximian.com
> Betreff: Re: AW: AW: [Mono-osx] Problems with first WinForms Hello =
World
>=20
>=20
> After macpacking; how are you running the executable?
>=20
> Console.app will tell you something if double click from finder
> immediately exits.
>=20
> -kangaroo
>=20
> On 12-Apr-05, at 2:17 AM, Armin Arnegger wrote:
>=20
> > Hi Stefan
> >
> > no :-(
> >
> > Armin
> >
> > -----Urspr=FCngliche Nachricht-----
> > Von: Stefan Csomor [mailto:csomor@advancedconcepts.ch]
> > Gesendet: Dienstag, 12. April 2005 07:51
> > An: Armin Arnegger
> > Cc: mono-osx@lists.ximian.com
> > Betreff: RE: AW: [Mono-osx] Problems with first WinForms Hello World
> >
> >
> > Hi Armin
> >
> > does Console tell you something ?
> >
> > Best,
> >
> > Stefan
> >
> >> -----Original Message-----
> >> From: mono-osx-admin@lists.ximian.com [mailto:mono-osx-
> >> admin@lists.ximian.com] On Behalf Of Armin Arnegger
> >> Sent: Dienstag, 12. April 2005 06:39
> >> To: 'kangaroo'
> >> Cc: Adhamh Findlay; mono-osx@lists.ximian.com; 'Artyom Tyazhelov'
> >> Subject: AW: AW: [Mono-osx] Problems with first WinForms Hello =
World
> >>
> >> I did macpack (macpack -n:Hello -a:Hello.exe -o:. -m:1).
> >> If I run from finder, the app starts and after a quick time it
> >> terminate
> >> again.
> >>
> >> Armin
> >>
> >> -----Urspr=FCngliche Nachricht-----
> >> Von: kangaroo [mailto:grompf@sublimeintervention.com]
> >> Gesendet: Dienstag, 12. April 2005 00:25
> >> An: Armin Arnegger
> >> Cc: Adhamh Findlay; mono-osx@lists.ximian.com; 'Artyom Tyazhelov'
> >> Betreff: Re: AW: [Mono-osx] Problems with first WinForms Hello =
World
> >>
> >>
> >> Thats because you didn't macpack.  When you run from command line
> >> without macpack the carbon runtime never registers (because its not =
in
> >> a bundle) and the app never gets focus.
> >>
> >> -kangaroo
> >>
> >> On 11-Apr-05, at 5:51 PM, Armin Arnegger wrote:
> >>
> >>> Artyom,
> >>>
> >>> Thanks, I've set the MONO_MWF_USE_QUARTZ_BACKEND to "1" and .....
> >>> The MessageBox is shown, but it is hanging.
> >>> It's not possible to click Ok.
> >>> I must cancel with Ctrl-C   :-(
> >>>
> >>> Armin
> >>>
> >>>
> >>> -----Urspr=FCngliche Nachricht-----
> >>> Von: Artyom Tyazhelov [mailto:artyom.tyazhelov@gmail.com]
> >>> Gesendet: Montag, 11. April 2005 10:05
> >>> An: Armin Arnegger
> >>> Cc: Adhamh Findlay; mono-osx@lists.ximian.com
> >>> Betreff: Re: [Mono-osx] Problems with first WinForms Hello World
> >>>
> >>>
> >>> Armin,
> >>>
> >>> just for your information:
> >>>
> >>> if you want to use OS X SWF backend driver, you need to export
> >>> MONO_MWF_USE_QUARTZ_BACKEND environment variable.
> >>> look here:
> >>>
> >>> [MONO_SRC_ROOT] /
> >>> mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs
> >>> line 87:
> >>>
> >>> if (Environment.OSVersion.Platform =3D=3D (PlatformID)128) {
> >>>        if (Environment.GetEnvironmentVariable
> >>> ("MONO_MWF_USE_QUARTZ_BACKEND") !=3D null)
> >>>                driver=3DXplatUIOSX.GetInstance();
> >>>        else
> >>>                driver=3DXplatUIX11.GetInstance();
> >>>
> >>> hope this helps
> >>>
> >>> Arty0M
> >>>
> >>> On Apr 10, 2005 12:14 AM, Armin Arnegger <arnegger@innosolv.ch>
> >>> wrote:
> >>>> See below [Armin]
> >>>>
> >>> [skiped. preserve world bandwith.]
> >>> _______________________________________________
> >>> Mono-osx mailing list
> >>> Mono-osx@lists.ximian.com
> >>> http://lists.ximian.com/mailman/listinfo/mono-osx
> >>>
> >>>
> >>>
> >>>
> >> _______________________________________________
> >> Mono-osx mailing list
> >> Mono-osx@lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/mono-osx
> > _______________________________________________
> > Mono-osx mailing list
> > Mono-osx@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-osx
> >
> >
> > !DSPAM:425b687393381140116776!
> >
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx