Robert A. Wlodarczyk | 3 Feb 2003 04:44
Picon
Favicon

running System.Windows.Forms app?

Hi all,

I just installed mono and wine (latest builds). I've setup wine correctly
(verified using the winecheck.pl script) and now am curious as to how to run
a System.Windows.Forms .net app using mono and wine? I figured it would be
something like 'wine mono SimpleWindow.exe" but that gives me an error from
wine saying "wine: cannot find 'mono'".

What's the right way of going about running a Windows Forms application
using mono and wine?

Thanks,

Rob.

______________________________________________________
Robert A. Wlodarczyk
Robert.Wlodarczyk <at> stonybrook.edu
Windows Messenger: rwlodarc <at> hotmail.com

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Dennis Hayes | 4 Feb 2003 23:42

WINELIB


I have started looking into getting WINE/WINELIB compatible with pthreads
and mono.
If nothing else, I will document a better starting point for those who
follow.
Wish me luck!
Dennis

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Dan Maltes | 4 Feb 2003 23:56

RE: WINELIB

May the Force be with you. :-)

-----Original Message-----
From: mono-winforms-list-admin <at> lists.ximian.com
[mailto:mono-winforms-list-admin <at> lists.ximian.com] On Behalf Of Dennis
Hayes
Sent: Tuesday, February 04, 2003 5:43 PM
To: 'mono-winforms-list <at> ximian.com'
Subject: [Mono-winforms-list] WINELIB

I have started looking into getting WINE/WINELIB compatible with
pthreads
and mono.
If nothing else, I will document a better starting point for those who
follow.
Wish me luck!
Dennis

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

John Sohn | 5 Feb 2003 07:17
Picon
Favicon

RE: WINELIB

I have been looking into this problem as well but I have not made much
progress. It seems as though the existing implementation of threads in
Wine has some issues with the latest glibc. There is some new
information on the WineHQ site at http://www.winehq.com/news/?view=155.
They even mention us :).

I have been trying to get the garbage collector to work under WineLib
first (before worrying about the Mono runtime) using this code:

#include <stdio.h>
#include <gc/gc.h>
#include <windows.h>

int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR
lpszCmdLine, int nCmdShow)
{
	GC_malloc (1);
	return 0;
}

I have tried recompiling the garbage collection library under WineLib
and linking with this instead of the pthread version. When compiled this
way it uses Win32 (Wine) threads instead of pthreads but it did not seem
to get much further than the pthread version.

I also tried using the Win32 implementation of pthreads at
http://sources.redhat.com/pthreads-win32/. It doesn't look like this is
compatible with the Wine source but it may be a starting point for
implementing the missing pthread functions in Wine.

(Continue reading)

Steinar Herland | 5 Feb 2003 20:11
Picon

WINELIB, glibc threading model

Maybe wine _must_ be ported to the glibc threading model. Would this
enable the winelib-based System.Windows.Forms to run using
garbage-collection?

Copied from
http://www.winehq.com/hypermail/wine-devel/2003/02/0163.html:

Apparently that's the case yes. So, I guess the real question now is,
how fast can Wine be ported to the glibc threading model. Assuming it
can be.

On Wed, 2003-02-05 at 14:54, Dimitrie O. Paun wrote:
> On Wed, 5 Feb 2003, Marcus Meissner wrote:
> 
> > No, Redhat Phoebe is affected already (is that 8.1?). Shipping soon.
> 
> Duh! So what will it happen -- Wine will not run on RH 8.1?!?
--

-- 
Mike Hearn <m.hearn <at> signal.qinetiq.com>
QinetiQ - Malvern Technology Center
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Dennis Hayes | 5 Feb 2003 20:30

RE: WINELIB, glibc threading model


After looking at the post from Steinar Herland and John Sohn, I have decided
to postpone looking at pthreads.
The same/similar issues that affect us now are about to prevent WINE from
running on Redhat 8.1 at all. I think it now breaks on Suse 8.1.
It looks like the WINE people will need to deal with this, so I will let
them deal.
I will continue work on the SWF code.
Dennis

-----Original Message-----
From: Steinar Herland [mailto:steinar.herland <at> gecko.no]
Sent: Wednesday, February 05, 2003 11:12 AM
To: mono-winforms-list <at> ximian.com
Subject: [Mono-winforms-list] WINELIB, glibc threading model

Maybe wine _must_ be ported to the glibc threading model. Would this
enable the winelib-based System.Windows.Forms to run using
garbage-collection?

Copied from
http://www.winehq.com/hypermail/wine-devel/2003/02/0163.html:

Apparently that's the case yes. So, I guess the real question now is,
how fast can Wine be ported to the glibc threading model. Assuming it
can be.

On Wed, 2003-02-05 at 14:54, Dimitrie O. Paun wrote:
> On Wed, 5 Feb 2003, Marcus Meissner wrote:
> 
(Continue reading)

Daniel Morgan | 5 Feb 2003 20:50
Picon

RE: WINELIB, glibc threading model

Hello Dennis,

Can Mono's S.W.F. run on mono on Windows?
If so, how do get it to work?
If not, what needs to be done?

Thanks,
Daniel

-----Original Message-----
From: mono-winforms-list-admin <at> lists.ximian.com
[mailto:mono-winforms-list-admin <at> lists.ximian.com]On Behalf Of Dennis
Hayes
Sent: Wednesday, February 05, 2003 2:30 PM
To: mono-winforms-list <at> ximian.com
Subject: RE: [Mono-winforms-list] WINELIB, glibc threading model

After looking at the post from Steinar Herland and John Sohn, I have decided
to postpone looking at pthreads.
The same/similar issues that affect us now are about to prevent WINE from
running on Redhat 8.1 at all. I think it now breaks on Suse 8.1.
It looks like the WINE people will need to deal with this, so I will let
them deal.
I will continue work on the SWF code.
Dennis

-----Original Message-----
From: Steinar Herland [mailto:steinar.herland <at> gecko.no]
Sent: Wednesday, February 05, 2003 11:12 AM
To: mono-winforms-list <at> ximian.com
(Continue reading)

Dennis Hayes | 5 Feb 2003 20:58

RE: WINELIB, glibc threading model


Yes, it runs better on windows that other systems.
But it is still very incomplete.
I can add every possible control to a form and it will display, but only as
a text type form, with no visible controls. But it does not crash. I have no
code related to the controls, adding code to set properties etc would
probably crash.

create a form in Visual studio. Delete the reference to
system.windows.forms. add a reference to the mono SWF. compile and run.

Expect very little.

Dennis

-----Original Message-----
From: Daniel Morgan [mailto:danmorg <at> sc.rr.com]
Sent: Wednesday, February 05, 2003 11:50 AM
To: Dennis Hayes; mono-winforms-list <at> ximian.com
Subject: RE: [Mono-winforms-list] WINELIB, glibc threading model

Hello Dennis,

Can Mono's S.W.F. run on mono on Windows?
If so, how do get it to work?
If not, what needs to be done?

Thanks,
Daniel

(Continue reading)

Simon Ask Ulsnes | 8 Feb 2003 23:27
Picon

DirectX support

Hi,
I was just wondering, since Wine has (some) support for DirectX, would 
it be possible to do the new DX9 managed classes in Mono too? 
Cross-platform gaming... Wow! :-)

I know this is not one of anybodys largest concerns, but I think it is a 
very interesting thought...

Yours sincerely,
Simon Ask Ulsnes, Denmark

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Etienne Charland | 15 Feb 2003 06:25

.Net IDE

Having .Net on Linux is a great thing. However, can I expect to be able to program .Net on Linux as easily on Linux than on Windows? SharpDevelop will work on Linux, but Visual Studio.Net is like 30x more complete. What will be the options?
-I would run Visual Studio.Net under Wine?
-SharpDevelop would grow and come as complete as VS.Net?
 
how much time could it take before either of those solutions work?

Gmane