Re: [Mono-dev] Same way for linux library as windows library

2008-04-16 Thread Stephen A.
Petit Eric wrote: > 2008/4/16, StApostol <[EMAIL PROTECTED]>: > >> I sent an email on the very same topic a few days ago, but it seems it never >> arrived :/ >> >> >> >> What if the project is a class library? There's no startup script in that >> case, unless you move that burden to the consumer

Re: [Mono-dev] Gtk# 2.8.4 runtime for windows?

2008-04-16 Thread Vladimir Dimitrov
Wow I just wrote that piece of code and started testing :). Thanks guys. -Original Message- From: Michael Hutchinson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 1:53 AM To: Alan McGovern Cc: Vladimir Dimitrov; Mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Gtk# 2.8.

Re: [Mono-dev] Gtk# 2.8.4 runtime for windows?

2008-04-16 Thread Michael Hutchinson
On Wed, Apr 16, 2008 at 5:39 PM, Alan McGovern <[EMAIL PROTECTED]> wrote: > Hi, > > You can work around it by using reflection to test whether that event > exists, and if it does you can then register a handler to it. That way > you can use the new feature without having to lose compatibility wi

Re: [Mono-dev] HOW WOULD BE THE CONVERSION OF THIS CODE IN MONO USING PINVOKE? I have problems in the structure.

2008-04-16 Thread Justin Cherniak
Jose, You posted to mono-list a few days ago and received a few responses. What was the problem? Are you getting some error? If I were to translate it, I would do the following: struct Request { [MarshalAs(UnmanagedType.LPStr)] public string CategoryID; [Marsha

[Mono-dev] HOW WOULD BE THE CONVERSION OF THIS CODE IN MONO USING PINVOKE? I have problems in the structure.

2008-04-16 Thread Jose Castillo Reyes
*I have the following code c++:* #include #include extern "C" { #include "lib.h" } int iHandle; struct Request { char *CategoryID; char *Product_Code; char *Build_Code; char *Manufacturer_id; unsigned int Serial_Number; char *Software_Version; }; int main(void) { R

Re: [Mono-dev] Dependencies between assemblies

2008-04-16 Thread Marek Safar
Hello, >>System.Web uses System.Drawing for drawing controls (iirc) and >> System.Windows.Forms because thats where the resource reader/writer >> reside. >> > > This is correct, what an ugly dependency to have there, its used by the > on-the-flight resource compiler. > > There is on

[Mono-dev] Mono on wine redux

2008-04-16 Thread Dennis Hayes
Also 100% pure .NET programs can use WinProc which in included in System.Windws.Forms controls. There are more and more 100% pure .NET apps out there. Many of the third party control libraries are using that in their advertisments. I would love to see Mono running on Wine. When

Re: [Mono-dev] Gtk# 2.8.4 runtime for windows?

2008-04-16 Thread Alan McGovern
Hi, You can work around it by using reflection to test whether that event exists, and if it does you can then register a handler to it. That way you can use the new feature without having to lose compatibility with 2.8. Alan. 2008/4/16 Vladimir Dimitrov <[EMAIL PROTECTED]>: > > > > > Hey guys I

Re: [Mono-dev] Dependencies between assemblies

2008-04-16 Thread Miguel de Icaza
>System.Web uses System.Drawing for drawing controls (iirc) and > System.Windows.Forms because thats where the resource reader/writer > reside. This is correct, what an ugly dependency to have there, its used by the on-the-flight resource compiler. There is one option though, it seems

[Mono-dev] Gtk# 2.8.4 runtime for windows?

2008-04-16 Thread Vladimir Dimitrov
Hey guys I have been running In some deadlock lately using the different versions of GTK# that are available around here. In GTK 2.10 there is cool feature (Glib.ExceptionManager.UnhandledException) that enables you to subscribe to that event and handle any unhandled exceptions your application can

Re: [Mono-dev] Mono on wine redux

2008-04-16 Thread Miguel de Icaza
Hello, > But what percent of .net apps are pure? If that fraction is small, > as I suspect it is, then for Mono to really rock the world, it's going > to have to tackle impure apps, too. That is of course incredibly difficult, > and would require considerable cooperation between the Mono and Win

Re: [Mono-dev] Mono 1.9 and dll.config files in ~/.mono/assemblies

2008-04-16 Thread Miguel de Icaza
Hello, > it looks like Mono 1.9 has stopped picking up dll.config files placed in > the ~/.mono/assemblies directory. Was this intended? Is there a specific > reason for this change? This is odd, the code is still there; Can you try using: strace -e trace=open mono program.exe And p

Re: [Mono-dev] Same way for linux library as windows library

2008-04-16 Thread Petit Eric
2008/4/16, StApostol <[EMAIL PROTECTED]>: > > > I sent an email on the very same topic a few days ago, but it seems it never > arrived :/ > > > > What if the project is a class library? There's no startup script in that > case, unless you move that burden to the consumers of your library (which is

Re: [Mono-dev] Same way for linux library as windows library

2008-04-16 Thread StApostol
I sent an email on the very same topic a few days ago, but it seems it never arrived :/ What if the project is a class library? There's no startup script in that case, unless you move that burden to the consumers of your library (which is not really nice or developer friendly). Up to Mono 1.2.6,

Re: [Mono-dev] Same way for linux library as windows library

2008-04-16 Thread Robert Jordan
Petit Eric wrote: > > as we know under windows, a app try to find library, first in the same > dir as the executable, if there isn't it try to shearch them in > windows and system32 (environment). > > So my question is, can we have the same way under linux : > - official library in the environmen

[Mono-dev] Same way for linux library as windows library

2008-04-16 Thread Petit Eric
hi folk, I write cs-obexftp, https://sourceforge.net/project/showfiles.php?group_id=206501 , who use the populare openobex/obexftp library, at this time the official library doesn't support C#, so my app doesn't work yet with official release in linux distro. as we know under windows, a app try to

Re: [Mono-dev] mono timer exception

2008-04-16 Thread Sean Dague
On Wed, Apr 16, 2008 at 10:15:07AM +0200, Robert Jordan wrote: > Sean Dague wrote: > > I read through the Timer code, and am starting to wonder if Timers > > themselves aren't thread safe to manipulate, and if that is the crux of > > our problem. > > See http://msdn2.microsoft.com/en-us/library/sy

Re: [Mono-dev] Mono on Solaris 10

2008-04-16 Thread [EMAIL PROTECTED]
Anyone trying a MWF app on Solaris 10??? Thanks pablo Cetin Sert escribió: > There is also a binary package for Solaris 10/x86 here > http://corsis.blogspot.com/search/label/mono%2Fsolaris > > Best Regards, > Cetin Sert > > 2008/4/15 Oliver Schweitzer <[EMAIL PROTECTED] >

Re: [Mono-dev] mono timer exception

2008-04-16 Thread Robert Jordan
Sean Dague wrote: > I read through the Timer code, and am starting to wonder if Timers > themselves aren't thread safe to manipulate, and if that is the crux of > our problem. See http://msdn2.microsoft.com/en-us/library/system.timers.timer.aspx The class is not thread safe. Robert