Re: [Mono-winforms-list] Simple getting started with Mono + WinForms question

2009-03-02 Thread Alex Shulgin
lionel keene wrote: Hi people. I'm new to the list. I'd like to develop a C# app targeting .NET 2.0. I'd like the application to run on Mac OSX/Windows/Linux (if possible). I intend to write a dialog applciation using Winforms, and I will be drawing on the dialog's canvas via GDI+. I will

Re: [Mono-winforms-list] .net 3.5/4.0 support

2009-03-02 Thread Mark de Bruijn
Isn't 3.5 already almost completely implemented in Mono 2.x? Mono and dotNet version numbering aren't the same. On 2/28/09, Kai Ponte k...@perfectreign.com wrote: I see mono is moving towards .NET 2.x support. How about 3.5 and the new 4.x support? Is there any traction to going straight

[Mono-dev] problem with mkbundle on Windows

2009-03-02 Thread Rakshas
I'm trying to make portable application. One of the requirements -- there is no .NET Framework on user machine, and there is no way to install it (user hasn't admin rights). So I'm trying to make bundle with Mono. Application uses some third-party dlls with WinForms. At first there was problem

Re: [Mono-dev] Brazilian Portuguese Translation of Mono

2009-03-02 Thread Rafael Teixeira
A bugzilla case with a [PATCH] prefix in the subject would be fine. A changelog is also interesting to have. About the categories you can just tie to the main library or executable affected. pt_BRGrande abraço, /pt_BR Best regards, On Sun, Mar 1, 2009 at 8:04 AM, Rodrigo Flores

Re: [Mono-dev] problem with mkbundle on Windows

2009-03-02 Thread Rafael Teixeira
Does the third-party dlls, have native dependencies (P/Invokes) or use reflection to load other dlls? Both things will work against what mkbundle tries to do. Nevertheless you can mkbundle just your main app and system-level assemblies and have all yours and third=party dlls installed in the same

Re: [Mono-dev] problem with mkbundle on Windows

2009-03-02 Thread Rakshas
Thanks for reply :) Yes, dlls have native dependencies. I thought that it could be a problem. But how to mkbundle only system-level assemblies? I thought it would be ok, if dlls will be just placed in the same folder, because I call mkbundle only for .exe file. Though I used --deps. And as I

[Mono-dev] setuid application

2009-03-02 Thread Gladish, Jacob
Before proceeding with my current plan, I wanted to get any feedback from anyone who may have explored building a mono app that has setuid. My application is mostly managed code, with a few p/invoke calls, but it's been pretty platform agnostic thus far. I need to have setuid privileges on my

Re: [Mono-dev] setuid application

2009-03-02 Thread Robert Jordan
Gladish, Jacob wrote: Before proceeding with my current plan, I wanted to get any feedback from anyone who may have explored building a mono app that has setuid. My application is mostly managed code, with a few p/invoke calls, but it's been pretty platform agnostic thus far. I need to have

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-02 Thread Matthew Metnetsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gonzalo Paniagua Javier wrote: On Fri, 2009-02-27 at 09:50 -0500, Matthew Metnetsky wrote: I was migrating some code from Mono 1.x to .NET 3.5 and came across a very small bug. I was calling MonoMethod.Invoke like so: MethodInfo method =

Re: [Mono-dev] setuid application

2009-03-02 Thread Gladish, Jacob
Yes, that's what I'm doing. I had an .exe, now I have a native app that does little more than loads and runs my .exe and its main(). But now I need to compile that native app for 4 different platforms. -Original Message- From: Jonathan Pryor [mailto:jonpr...@vt.edu] Sent: Monday, March

[Mono-dev] profiler to run on windows and linux (mono)

2009-03-02 Thread @lex
Hi I need to profile an application on Windows and Linux platform. I use Mono to run it on Linux. I have tried using Mono built in profiling tools but these are not available on Windows version. I have also tried a few other profilers but they seems to not work on Mono. Any help is much

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-02 Thread Gonzalo Paniagua Javier
[...] So my question is where would you like an ArgumentException thrown (as MS does): 1) MonoMethod.cs 2) icall.c / where the path leads me Thoughts? MonoMethod.cs -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-list] Cannot run Windows installer, program too big

2009-03-02 Thread anthony.jones
Hi, I've just downloaded the latest install package for Windows (mono-2.2-gtksharp-2.12.7-win32-5.exe) but I'm having trouble running it. When run the message: Program too big to fit in memory Is displayed and then it exits. Can anyone help me out? Thanks, Anthony -- View this message in

[Mono-list] Format24bppRgb Format16bppRgb555 Format48bppRgb as 32-bit RGB in mono SUSE

2009-03-02 Thread Vandana_hcl
Hi, I am using the following code in Mono V2.2 on SUSE Linux Enterprise Desktop 10: Bitmap bmp2 = bmp.Clone(new Rectangle(0, 0, bmp.Width, bmp.Height), PixelFormat.Format24bppRgb ) Same code creates a 24 RGP BMP image in Windows. But in mono it creates a 32 bit depth image. Not only this, if I

Re: [Mono-list] Cannot run Windows installer, program too big

2009-03-02 Thread anthony.jones
anthony.jones wrote: I've just downloaded the latest install package for Windows (mono-2.2-gtksharp-2.12.7-win32-5.exe) but I'm having trouble running it. When run the message: Program too big to fit in memory Is displayed and then it exits. I've found the solution to my

Re: [Mono-list] Format24bppRgb Format16bppRgb555 Format48bppRgb as 32-bit RGB in mono SUSE

2009-03-02 Thread Stifu
Something is probably wrong with the way Mono clones Bitmaps. I've encountered the following problem myself: I try to clone a bitmap, and the resulting bitmap is all black. MS .NET doesn't have this problem. I didn't get around to making a reduced testcase for this (I think it's related to the

[Mono-list] installing assembly from dll

2009-03-02 Thread Bartolomeo Nicolotti
hi, i'm using mono on windows, i've a dll which contains code for accessing db2-iseries how do i let mono be aware of this dll so that i can compile and run? i've tried the same with visual studio web developer express and i can compile easely. bye -- View this message in context:

Re: [Mono-list] installing assembly from dll

2009-03-02 Thread Chris Howie
On Mon, Mar 2, 2009 at 10:09 AM, Bartolomeo Nicolotti bnicolo...@siapcn.it wrote: i'm using mono on windows, i've a dll which contains code for accessing db2-iseries how do i let mono be aware of this dll so that i can compile and run? If you are using Monodevelop, right-click the references

[Mono-list] several mono-service, but always display same process name/command in ksysguard

2009-03-02 Thread Petit Eric
Hi I noticed , mono-service always run with the same process name/cmd, so we cannot know which service is really running. I simply change the mono-service script by adding -a $assembly to exec and so put a sane default value, but adding an actual -a:NAME paramter may also be useful with other

[Mono-list] Newbie - How to invoke compiler after installing?

2009-03-02 Thread lionel keene
Hello all, Mono newbie here. How do I compile the following example (which I've entered via Microsoft Norepad and saved as c:\Mono Test\Simple.cs: using System.Windows.Forms; using System.Drawing; public class Simple : Form { public Simple() { Text = Simple; Size = new

Re: [Mono-list] Newbie - How to invoke compiler after installing?

2009-03-02 Thread Maser, Dan
It looks like you just have to quote the c:\Mono Test\Simple.cs on your command line since your directory has a space in it. Dan Maser | Lead Software Developer phone fax +1.317.872.3000 | mobile +1.317.872.3000 | dan.ma...@inin.com Interactive Intelligence Inc. Deliberately Innovative

Re: [Mono-list] Newbie - How to invoke compiler after installing?

2009-03-02 Thread Andreas Färber
Hello, Am 02.03.2009 um 21:25 schrieb lionel keene: gmcs -r:System.Windows.Forms.dll -r:System.Drawing.dll c:\Mono Test \simple.cs Whenever you have spaces in your file path, you need to quote it or it's interpreted as multiple files. After hunting aroud online I changed appended the

Re: [Mono-list] Newbie - How to invoke compiler after installing?

2009-03-02 Thread Jonathan Pobst
I've installed Mono 2.2 using the default installation parameters on my Wndows XP box. Then, at the command prompt, I tried changing to the compiler directory (the directory containing gmcs.exe) via: The easiest way is to go to your Start Menu, and run the Mono-2.2 Command Prompt. It will

[Mono-list] app send-receive performance problem running using Mono (Linux)

2009-03-02 Thread @lex
Hi I run two copies of my test application on the same machine (Windows and Linux OSs). One application acts as sender and the other one as receiver. Running it on Windows gives a same result for sending and receiving sides. Testing it on Linux (using Mono) gives different result: sender sends

Re: [Mono-list] Newbie - How to invoke compiler after installing?

2009-03-02 Thread LKeene
Jonathan Pobst wrote: I've installed Mono 2.2 using the default installation parameters on my Wndows XP box. Then, at the command prompt, I tried changing to the compiler directory (the directory containing gmcs.exe) via: The easiest way is to go to your Start Menu, and run the Mono-2.2