RE: [Mono-list] Applet for dotNet
An Applet is a Java concept. You can view an Applet in a browser window because the browser supports the Java run time engine as a plug-in. I think what you really want is to use a dotNet application as a browser plug-in like Acrobat Reader is both a stand-alone program and a browser plug-in. That is somewhat harder to do and involves understanding the many browser plug-in models. I have been researching this lately because it would be really cool to provide this behavior in my application. However, that goal is neither easy nor straight forward to achieve and so, I have given up on it, because it is not critical to the success of my project. I have included some links we found useful in determining the difficulty of the problem. http://www.mozilla.org/projects/plugins/ http://devedge.netscape.com/central/plugins/ http://devedge.netscape.com/library/manuals/2002/plugin/1.0/ Best of luck, J. Edward Ellis Pacific Northwest National Laboratory (509) 375-3627 voice (509) 375-2379 FAX mailto:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gaurav Vaish Sent: Sunday, August 08, 2004 8:04 AM To: [EMAIL PROTECTED] Subject: [Mono-list] Applet for dotNet Hi, Is anybody aware of any project for Applet for dotNet? If my question is not clear - I want to be able to use SWF/GTk#/Qt# within browser -- similar to Java-Applets for Swing/AWT. Happy Hacking, Gaurav ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] is there a way to start .exe without needing to type 'mono' on windows?
The Environment class provides OSVersion (Microsoft Windows NT 5.1.2600.0) and Version (1.1.4322.573), which is the Framework version number. However, since Mono aspires to look *exactly* like the MS Framework, they have not provided a way to tell that you are running Mono instead of MS. I think the only way to tell would be to look for some of the Mono extension classes. J. Edward Ellis Pacific Northwest National Laboratory (509) 375-3627 voice (509) 375-2379 FAX mailto:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tizio Incognito Sent: Friday, July 23, 2004 2:52 AM To: Mono List Subject: Re: [Mono-list] is there a way to start .exe without needing to type 'mono' on windows? Sam Jost said the following on 23/07/2004 10.30: [SNIP] I could get my apps to use mono, but I would have to build a special release for use with mono, even two I fear since I would need to use a different call from Process to start mono on windows then I would need on unix (it needs 'mono.bat' to find mono, and I don't think mono is ending in .bat on unix *g*). Sam This is a common issue.. I'm also having trouble for this. I believe the best way to workaround is to detect internally if you're running on mono/linux, mono/win, ms framework/win, etc. Is there a way to do that? I think this can be useful also with Ado connection strings, and other exceptions... -- TI ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] getting fd for socket
#include stdio.h int fileno(FILE *stream); Converts a stream pointer to a file descriptor. J. Edward Ellis Pacific Northwest National Laboratory (509) 375-3627 voice (509) 375-2379 FAX mailto:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Willcox Sent: Tuesday, July 06, 2004 4:31 PM To: [EMAIL PROTECTED] Subject: [Mono-list] getting fd for socket Hi, I need to call getsockopt() on a Socket, and thought Socket.Handle would simply give me the fd. But that does not appear to be the case (it gives a much higher number than the fd). Does anyone know how I can acquire the fd of a socket? Thanks, James ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] socket.raw as root
I am not sure if this applies in your case, but there are privileged sockets (0-1023) and non-privileged sockets (1024-65536). If this is not your problem, then it may be an issue that raw sockets bypass the standard protocols and can be used for nefarious purposes. I am sure about the first statement, the second is just a guess. J. Edward Ellis Pacific Northwest National Laboratory (509) 375-3627 voice (509) 375-2379 FAX mailto:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Gonia Sent: Friday, June 18, 2004 9:30 AM To: [EMAIL PROTECTED] Subject: [Mono-list] socket.raw as root Would someone please explain to me why I have to be root in order to create a raw socket: Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.Icmp); but I can create a Stream socket as a normal user: Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); And is there a way to get around the root privilege requirement for raw sockets? Thanks, Eric ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] New web site: application screenshots
You put up several screenshots of applications. Most of them include a reference where you can get the application. There is no such reference for SQL# for GTK#. Is it available? J. Edward Ellis Pacific Northwest National Laboratory (509) 375-3627 voice (509) 375-2379 FAX mailto:[EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Might this be a bug?
Adding a mapping to /etc/mono/config worked for me! Thanks! J. Edward Ellis Battelle, Pacific Northwest National Laboratory (509) 375-3627 office (509) 521-6361 cell (509) 372-4725 FAX mailto:[EMAIL PROTECTED] -Original Message- From: Iain McCoy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:50 AM To: Peter Dennis Bartok Cc: Ellis, Edward; [EMAIL PROTECTED] Subject: Re: [Mono-list] Might this be a bug? I get this error too, but for me it goes away once I add a mapping to go from gdiplus.dll to libgdiplus.dll.so. Should such a mapping be created? On Wed, 2004-05-12 at 02:58, Peter Dennis Bartok wrote: It's not a bug. It's a problem loading winelib. We fixed a build issue, but I'm not sure whether or not the package you are using already has the fix. I'll find out. Peter -Original Message- From: Ellis, Edward [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 11 May, 2004 10:31 Subject: [Mono-list] Might this be a bug? Is this a bug or should I do further troubleshooting? I could start small and work up, but I thought, Why not go for the gusto? This looks like it might be an installation problem, but as a newbie, I am not sure. I ran a simple WindowForms VB application written in VB.NET and got the following exception: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus --- System.DllNotFoundException: gdiplus.dll in 0x00053 (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong,System.Drawing.GdiplusStartupInput,System.Drawing.GdiplusStartu pOutput) in 0x00068 System.Drawing.GDIPlus:.cctor () --- End of inner exception stack trace --- in (unmanaged) System.Drawing.GDIPlus:GdipCreateFontFromHfont (intptr,intptr,System.Drawing.LOGFONTA) in 0x000c7 System.Drawing.Font:FromHfont (intptr) in 0x00018 System.Windows.Forms.Control:get_DefaultFont () in 0x001c1 System.Windows.Forms.Control:.ctor () in 0xe System.Windows.Forms.ScrollableControl:.ctor () in 0xa System.Windows.Forms.ContainerControl:.ctor () in 0x00016 System.Windows.Forms.Form:.ctor () in 0xa Namer.Form1:.ctor () in 0x0004f (wrapper remoting-invoke-with-check) Namer.Form1:.ctor () in 0x0001b Namer.Form1:Main () I have the following RPMs installed: cairo-0.1.22-0.ximian.6.2.i386.rpm gal-0.23-1.ximian.6.6.i386.rpm gtk-sharp-0.91.1-0.ximian.6.0.i386.rpm icu-2.6.1-1.ximian.6.5.i386.rpm libgal2.0_6-1.99.11-0.ximian.6.1.i386.rpm libgdiplus-0.3-0.ximian.6.1.i386.rpm libgtkhtml3.0_4-3.0.10-0.ximian.6.1.i386.rpm libicu26-2.6.1-1.ximian.6.5.i386.rpm libicu-devel-2.6.1-1.ximian.6.5.i386.rpm libpixman-0.1.1-0.ximian.6.0.i386.rpm mono-basic-0.91-0.ximian.6.3.i386.rpm mono-core-0.91-0.ximian.6.3.i386.rpm mono-data-0.91-0.ximian.6.3.i386.rpm monodoc-0.15-0.ximian.6.1.i386.rpm mono-drawing-0.91-0.ximian.6.3.i386.rpm mono-ms-enterprise-0.91-0.ximian.6.3.i386.rpm mono-ms-extras-0.91-0.ximian.6.3.i386.rpm mono-posix-0.91-0.ximian.6.3.i386.rpm mono-preview-0.91-0.ximian.6.3.i386.rpm mono-remoting-0.91-0.ximian.6.3.i386.rpm mono-web-forms-0.91-0.ximian.6.3.i386.rpm mono-web-services-0.91-0.ximian.6.3.i386.rpm mono-window-forms-0.91-0.ximian.6.3.i386.rpm mono-ziplib-0.91-0.ximian.6.3.i386.rpm wine-20040408-1rh9winehq.i386.rpm winelib-0.2-0.ximian.6.2.i386.rpm J. Edward Ellis Battelle, Pacific Northwest National Laboratory (509) 375-3627 office (509) 521-6361 cell (509) 372-4725 FAX mailto:[EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list -- Iain McCoy [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] SQLDataReader error
I get the following error: ** (GetAnalysisTime_C.exe:31073): WARNING **: Missing method get_HasRows in assembly /home/d3j409/GetAnalysisTime_C.exe typeref index 26 ** ERROR **: file mini.c: line 3191 (mono_method_to_ir): assertion failed: (cmethod) aborting... Aborted I believe it is caused by the following statement: if (!(Reader.HasRows)) return ; //Specified job wasn't found Is this a bug in mini, SQLDataReader, or a loose nut behind the wheel? J. Edward Ellis Battelle, Pacific Northwest National Laboratory (509) 375-3627 office (509) 521-6361 cell (509) 372-4725 FAX mailto:[EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Might this be a bug?
Is this a bug or should I do further troubleshooting? I could start small and work up, but I thought, Why not go for the gusto? This looks like it might be an installation problem, but as a newbie, I am not sure. I ran a simple WindowForms VB application written in VB.NET and got the following exception: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus --- System.DllNotFoundException: gdiplus.dll in 0x00053 (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong,System.Drawing.GdiplusStartupInput,System.Drawing.GdiplusStartu pOutput) in 0x00068 System.Drawing.GDIPlus:.cctor () --- End of inner exception stack trace --- in (unmanaged) System.Drawing.GDIPlus:GdipCreateFontFromHfont (intptr,intptr,System.Drawing.LOGFONTA) in 0x000c7 System.Drawing.Font:FromHfont (intptr) in 0x00018 System.Windows.Forms.Control:get_DefaultFont () in 0x001c1 System.Windows.Forms.Control:.ctor () in 0xe System.Windows.Forms.ScrollableControl:.ctor () in 0xa System.Windows.Forms.ContainerControl:.ctor () in 0x00016 System.Windows.Forms.Form:.ctor () in 0xa Namer.Form1:.ctor () in 0x0004f (wrapper remoting-invoke-with-check) Namer.Form1:.ctor () in 0x0001b Namer.Form1:Main () I have the following RPMs installed: cairo-0.1.22-0.ximian.6.2.i386.rpm gal-0.23-1.ximian.6.6.i386.rpm gtk-sharp-0.91.1-0.ximian.6.0.i386.rpm icu-2.6.1-1.ximian.6.5.i386.rpm libgal2.0_6-1.99.11-0.ximian.6.1.i386.rpm libgdiplus-0.3-0.ximian.6.1.i386.rpm libgtkhtml3.0_4-3.0.10-0.ximian.6.1.i386.rpm libicu26-2.6.1-1.ximian.6.5.i386.rpm libicu-devel-2.6.1-1.ximian.6.5.i386.rpm libpixman-0.1.1-0.ximian.6.0.i386.rpm mono-basic-0.91-0.ximian.6.3.i386.rpm mono-core-0.91-0.ximian.6.3.i386.rpm mono-data-0.91-0.ximian.6.3.i386.rpm monodoc-0.15-0.ximian.6.1.i386.rpm mono-drawing-0.91-0.ximian.6.3.i386.rpm mono-ms-enterprise-0.91-0.ximian.6.3.i386.rpm mono-ms-extras-0.91-0.ximian.6.3.i386.rpm mono-posix-0.91-0.ximian.6.3.i386.rpm mono-preview-0.91-0.ximian.6.3.i386.rpm mono-remoting-0.91-0.ximian.6.3.i386.rpm mono-web-forms-0.91-0.ximian.6.3.i386.rpm mono-web-services-0.91-0.ximian.6.3.i386.rpm mono-window-forms-0.91-0.ximian.6.3.i386.rpm mono-ziplib-0.91-0.ximian.6.3.i386.rpm wine-20040408-1rh9winehq.i386.rpm winelib-0.2-0.ximian.6.2.i386.rpm J. Edward Ellis Battelle, Pacific Northwest National Laboratory (509) 375-3627 office (509) 521-6361 cell (509) 372-4725 FAX mailto:[EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Re: missing inssel.h No such file or directory
Title: Re: missing inssel.h No such file or directory I found the following in the archives: ---Snip--- Hi, inssel.h is created during compilation by a statement like this: ../../mono/monoburg/monoburg ... -d inssel.h please check you build logs to see whenever they contain such a=20 statement. You might have stumbled across bug: http://bugzilla.ximian.com/show_bug.cgi?id=3D51693 bye Zoltan ---Snip--- My problem is that clicking on the link gives no further information, I dont know where the build logs are written (I did look), and I have no idea how to proceed in fixing the install. I am installing mono-0.91 from the source tarball on RedHat Enterprise Linux 3. I would be willing to install from an RPM, but I dont see anything for RHEL3, just RH9. Can anyone offer some guidance? J. Edward Ellis Battelle, Pacific Northwest National Laboratory (509) 375-3627 office (509) 521-6361 cell (509) 372-4725 FAX mailto:[EMAIL PROTECTED]