Re: [Mono-dev] Wine Integration
I thought the pthreads implementation in winelib was incompatible with the pthreads library that mono uses. And that the wine developers said they're not going to do anything about it either. As others have stated, stay away from p/invoke into the Win32 API. Unless, you plan on making your app portable bying using the win32 api on windows but a different library on linux. But this adds complexity. --- Kornél Pál <[EMAIL PROTECTED]> wrote: > You should be able to run the latest Mono on the > latest Wine without any > problems. > Install the Win32 version of Mono on Wine and use > that. You will have to use > mono.exe program.exe syntax just like on Windows. > > Kornél > > - Original Message - > From: "rod marola" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, January 09, 2008 3:14 PM > Subject: [Mono-dev] Wine Integration > > > >I am in need to run a program on GNU/Linux that is > a .NET application but > > make calls of Win32 native API. I would like to > know if there is any work > > made towards integrating MONO with WINE, in order > to make such calls > > possible. I am interested in developing such > integration, as described in > > WINE's wiki ( > http://wiki.winehq.org/Mono-Wine_bridge ), what > advice can > > you > > give me? > > > > Thanks, > > -- > > Rodrigo Q Saramago > > > > > > > > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Wine Integration
On Wed, 2008-01-09 at 12:14 -0200, rod marola wrote: > I am in need to run a program on GNU/Linux that is a .NET application > but make calls of Win32 native API. I would like to know if there is > any work made towards integrating MONO with WINE, in order to make > such calls possible. Reportedly you can run recent versions of a Win32 Mono build under recent versions of Wine, so theoretically all you'd need to do is install the Win32 Mono under Wine and run your app with the Win32 Mono. The downside to this is that you're using the Win32 Mono, and thus can't use any Unix-specific functionality (such as Mono.Unix.Native.Syscall). The Winelib-based glue the wiki suggests would also work, but would also be more difficult. One of the earlier Mono System.Windows.Forms efforts was built upon Winelib, and it was very problematic getting Mono and Winelib to interact properly (but I don't recall the specific details). - Jon ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Wine Integration
Have you tried installing the Win32 build of Mono on WINE? then calling the program with mono program.exe? On Wed, 2008-01-09 at 12:14 -0200, rod marola wrote: > I am in need to run a program on GNU/Linux that is a .NET application > but make calls of Win32 native API. I would like to know if there is > any work made towards integrating MONO with WINE, in order to make > such calls possible. I am interested in developing such integration, > as described in WINE's wiki > ( http://wiki.winehq.org/Mono-Wine_bridge ), what advice can you give > me? > > Thanks, > -- > Rodrigo Q Saramago > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Wine Integration
You should be able to run the latest Mono on the latest Wine without any problems. Install the Win32 version of Mono on Wine and use that. You will have to use mono.exe program.exe syntax just like on Windows. Kornél - Original Message - From: "rod marola" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 09, 2008 3:14 PM Subject: [Mono-dev] Wine Integration >I am in need to run a program on GNU/Linux that is a .NET application but > make calls of Win32 native API. I would like to know if there is any work > made towards integrating MONO with WINE, in order to make such calls > possible. I am interested in developing such integration, as described in > WINE's wiki ( http://wiki.winehq.org/Mono-Wine_bridge ), what advice can > you > give me? > > Thanks, > -- > Rodrigo Q Saramago > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Wine Integration
rod marola wrote: > I am in need to run a program on GNU/Linux that is a .NET application but > make calls of Win32 native API. I would like to know if there is any work > made towards integrating MONO with WINE, in order to make such calls > possible. I am interested in developing such integration, as described in > WINE's wiki ( http://wiki.winehq.org/Mono-Wine_bridge ), what advice can you > give me? Replace the Win32 p/invoke calls with something portable. *SCNR* Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list