Re: [Mono-list] mono and comercial apps.
J# requires one aditional framework compatible with java Ben Maurer wrote: Hello, I am going to adress the pratical issues you bring up. I am not sure about legal issues (such as licensing Windows to use the J# assemblies). On Wed, 2004-03-24 at 13:58, Wendell Nichols wrote: J#, Assuming the J# assemblies comply to the CLI specs (which I assume, but have not verified, they do) they should run on Mono. However, there might be pathing issues, as I am not sure the J# designers were keeping in mind Linux. They might use "\" as the path seperator char. If this were the case, you might have to round trip the j# assemblies in an ilassembler and fix bugs. Of course, you would have to check if this were compliant with the EULA. One other option might be to use the ikvm (http://www.ikvm.net/) to simulate the java classlibs. The issue would be getting things to compile. and comercial third party controls. There are a few possible issues here: 1. Most component venders obfuscate their code. Some code obfuscators emit code that does not comply to the CLI specification, and is thus invalid. Some of these invalid sequences are incorrectly accepted by Microsoft's jit, while our jit compliantly rejects them. 2. I have seen many third party components that store licencing information in the registry obviously this is a problem 3. As above, a third party component might not be built with linux in mind and might hardcode the path seperator char, etc. All three issues are things that you could obviously bring up with the vendor. Is there now or will there ever be a way to run an app like this on linux mono? Short of the above issues, or any issues in your own code, this application should run on Mono. If it does not, bug reports would help us to help you get the application running. Good luck, -- Ben ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Java and C#
The attributes in java have some differences from .net: - they are called annotations - they can be RUNTIME or SOURCE_ONLY - they are interfaces - the SOURCE_ONLY annotations can be applied to local variables A Rafael D Teixeira wrote: On Thu, 2004-03-18 at 22:35, Jonathan Pryor wrote: I suspect that there is no way to add attributes in Java. Microsoft's Visual J# permits the use of Attributes (IIRC), but it's through their Visual J++ syntax -- through a specially formed JavaDoc comment. Something like (from memory): /** * @attribute-name (args...) */ public void myMethod () {/* ... */} Of course, that's compiler specific, and no standard Java compiler will support that. So when it comes to attributes, you're probably up the creek. - Jon Maybe when ikvm supports Java 'Tiger' 1.5, that has attributes added to the language (well sort-of, because it resembles the Visual J# way...). My two cents,
Re: [Mono-list] Running Mono under Windows 95
Information about this can be found in: http://go-mono.com/faq.html#platforms Célio Cidral Junior wrote: Is it possible to run Mono under Windows 95 platform? I installed v.0.29 in my machine, which has Win95 installed, and tried to run both Mono and the C# compiler, but it did'nt work. Some error messages like "Invalid command or file name" were generated. Should I have to install .NET SDK in order to run Mono under Win32 platforms? I hope not, otherwise there's no hope for Win95, am I right? Thank you. Celio Cidral Junior Brazil ___ 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
Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
The requirements for Gtk# are the gtk runtime and .Net Framework(Mono or Microsoft), but for Glade# you will also need libglade. Leandro Zis Pablo Fischer wrote: Why?.. I didnt know that I needed just Mono to run Gtk, cause in go-mono.com, one of the requirements for Gtk# are Gtk Runtime and .NET, but if It's not necesarry.. I'll remove it :). Ok, I'm a Debian user and a fan of apt-get.. so the last version for Debian (Alp's Repository) is the .26. I know that I can compile it and I really want to do that.. but damn.. I love apt-get :). So, If in the Windows (2k) I uninstall the .NET framework, change the Mono version from .28 to .25 (cause .26 doesnt works for me) and the Gtk# from .10 to .8 it will work?, Also, another question: If I have my .exe app, the windows users can download and use it with .NET (installing the gtk# in the .NET directory) but WITHOUT mono, does my app will work or needs of Mono? Thanks! Pablo El lun, 06-10-2003 a las 17:29, Pavlica, Nick escribió: Pablo, Why are you installing the .NET frame work in addition to Mono if you are developing on Linux/Mono+GTK and deploying on Windows? I would recommend using Mono .28+GTK or newer on both systems. Using the same runtime on both operating systems will allow you to have greater confidence in the functionality of your software. My 2 Cents :) Nick Pavlica On Mon, 2003-10-06 at 15:03, Pablo Fischer wrote: Hello!! I need to install Mono and Gtk# in 25 computers running Windows (Im going to develop an app for the university in Linux and run it in Windows). Im installing this packages in this order: * .NET FrameWork * Mono-.28 (I tried with .25 and I have the same error) * Gtk#-10, but the stable version (like 3.xx MB), it contains the GtkRuntime Now Im testing with a simple app created with glade-sharp, gtk-sharp, its a simple button that says: Bye World. But Everytime I try to run it it crashes, giving me this error: FAiled to load function gtksharp_glade_xml_get_filename from gtksharpglue (this error appers twice) Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application--->System.NullReferenceException: A null value was found where an object instance was required. I compiled this in my linux, running Mono .26 gnome, gtk, glib, gtk-sharp-glue with .8-1 Thanks! Pablo ___ 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 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
It seems that the gtk-runtime doesn't install libglade with it. So the glade# will not work. Leandro André Zis Pablo Fischer wrote: Hello!! I need to install Mono and Gtk# in 25 computers running Windows (Im going to develop an app for the university in Linux and run it in Windows). Im installing this packages in this order: * .NET FrameWork * Mono-.28 (I tried with .25 and I have the same error) * Gtk#-10, but the stable version (like 3.xx MB), it contains the GtkRuntime Now Im testing with a simple app created with glade-sharp, gtk-sharp, its a simple button that says: Bye World. But Everytime I try to run it it crashes, giving me this error: FAiled to load function gtksharp_glade_xml_get_filename from gtksharpglue (this error appers twice) Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application--->System.NullReferenceException: A null value was found where an object instance was required. I compiled this in my linux, running Mono .26 gnome, gtk, glib, gtk-sharp-glue with .8-1 Thanks! Pablo ___ 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