Re: [Mono-list] How to work with Mono.Unix.Signalhandler

2005-04-28 Thread Jonathan Pryor
On Wed, 2005-04-27 at 14:49 +0200, Andreas Sliwka wrote: Greetings, I recently tried to compile tomboy 0.3.2 and found that my mono 1.1.4 installation did not like the calls to Mono.Posix. So I tried to replace them with calls to Mono.Unix. My problem is that I dont find any

Re: [Mono-list] Dll loading failure

2005-04-28 Thread Jonathan Pryor
On Thu, 2005-04-28 at 19:11 +0200, Michal Moskal wrote: On 4/28/05, Jurek Bartuszek [EMAIL PROTECTED] wrote: Mono does not support native code DLLs from Windows when running on Linux. Are you 100% sure about that? No. Maybe some wine interop would do? I'm not an expert here. I'm 100%

Re: [Mono-devel-list] Mono on a multipocessor

2005-04-21 Thread Jonathan Pryor
On Wed, 2005-04-20 at 16:56 +0200, BRUNET Pierre-Marie - stagiaire wrote: Hi, I'm french student working on Mono for a University project. I wonder if Mono launchs a thread for each processor if a multithread C# program running over Mono. No. Mono will launch a thread for each

Re: [Mono-list] Gtk# or the future Windows.Forms Mono

2005-04-16 Thread Jonathan Pryor
On Sat, 2005-04-16 at 11:44 +0200, Christian Gross wrote: Jonathan Pryor wrote: This isn't entirely true; there is also development on Cocoa# for better Mac OS X integration. Well, does this not make the argument for something like wx.NET, which already has pretty decent OSX integration

Re: [Mono-list] Gtk# or the future Windows.Forms Mono

2005-04-15 Thread Jonathan Pryor
On Fri, 2005-04-15 at 15:04 -0400, Wei Weng wrote: That is also my question. Will Mono abandon (eventually) gtk# and go full force behind SWF once SWF gets matured enough on most major platforms? Mono will do that when Microsoft stands behind SWF[1]. :-D Which is to say, No, Never, and You

Re: [Mono-list] Examples of proprietary code developed on Mono

2005-04-04 Thread Jonathan Pryor
On Mon, 2005-04-04 at 12:33 +0200, Julien Gilli wrote: On Sat, 2005-04-02 at 14:04 -0500, Miguel de Icaza wrote: Was wondering if anybody could tell me of any instances where proprietary software has been developed using Mono? The FAQ explicitly states that you can write commercial

Re: [Mono-list] Examples of proprietary code developed on Mono

2005-04-04 Thread Jonathan Pryor
On Mon, 2005-04-04 at 14:36 +0200, Julien Gilli wrote: On Mon, 2005-04-04 at 06:48 -0400, Jonathan Pryor wrote: On Mon, 2005-04-04 at 12:33 +0200, Julien Gilli wrote: Generally speaking, if it's non-commercial it would be considered to be proprietary, even if source code is present

Re: [Mono-list] Clarification - Features not exposed by System.Windows.Forms

2005-04-02 Thread Jonathan Pryor
On Fri, 2005-04-01 at 09:32 -0800, Bill Medland wrote: On the www.mono-project.com/Gui_Tookits page (and on Miguel's orginal page) I note the quotes that SWF is not complete enough for many tasks and there is mention of features which are not exposed by Windows.Forms. This agrees with what

Re: [Mono-list] Understanding versions

2005-03-31 Thread Jonathan Pryor
On Wed, 2005-03-30 at 10:33 -0800, Bill Medland wrote: Can anyone help me understand all this please? History may be beyond understanding... :-) I am working under Linux (Red Hat Enterprise Linux 3), building from the anonymous svn. I have a user, mono, which I use for building. In

Re: [Mono-devel-list] How to determine free disk space?

2005-03-30 Thread Jonathan Pryor
On Tue, 2005-03-29 at 17:47 +0100, Alex Chudnovsky wrote: I am trying to convert Win32 specific code to Mono to determine free disk space available on a given drive. There does not appear to be a nice portable way to do it, and I am not too keen on spawning df to determine free space. Perhaps

Re: [Mono-list] Mono: TLS. normal versus __thread

2005-03-25 Thread Jonathan Pryor
On Thu, 2005-03-24 at 07:28 -0500, Jonathan Pryor wrote: On Thu, 2005-03-24 at 00:17 +0100, Michael Rasmussen wrote: It apparently seems to course problems when using Mono.Posix.fork. My self compiled version under Debian runs flawlessly while giving these errors under Fedora Core and Suse

Re: [Mono-list] Mono: TLS. normal versus __thread

2005-03-24 Thread Jonathan Pryor
On Thu, 2005-03-24 at 00:17 +0100, Michael Rasmussen wrote: It apparently seems to course problems when using Mono.Posix.fork. My self compiled version under Debian runs flawlessly while giving these errors under Fedora Core and Suse: Don't call Syscall.fork unless you really know what you're

Re: [Mono-devel-list] patents

2005-03-20 Thread Jonathan Pryor
On Sat, 2005-03-19 at 23:40 -0500, Jeffrey Knight wrote: Only Miguel or a Novell official can speak about Mono and patents. I probably I misinterpreted this: why isn't anyone free to speak about Mono and patents? Mono is GPL'd -- why would a Novell official be in a better position than

Re: [Mono-list] Mono licence

2005-03-20 Thread Jonathan Pryor
On Sun, 2005-03-20 at 10:33 +, Paul wrote: Look. The argument FC have put up is over the patents MS hold which Mono relies upon. Due to those patents (and again, according to the FC crew), distribution under the GPL is not allowed. I'm not crying wolf at all either. Their argument seems

Re: [Mono-list] Good Mono Project

2005-03-18 Thread Jonathan Pryor
On Fri, 2005-03-18 at 22:33 +1300, Ralph Mason wrote: Seems to me that one can easily do a layer to create the com 'controls' (eg the standard ones provided) on top of WIndows.Forms. Com controls are supported under windows. Mono doesn't currently support COM controls anywhere. I can't

Re: [Mono-list] Good Mono Project

2005-03-17 Thread Jonathan Pryor
On Thu, 2005-03-17 at 21:25 +1300, Ralph Mason wrote: I was just reading http://news.com.com/Microsoft+walks+VB+tight+rope/2100-1007_3-5620821.html?tag=nefd.lede It seems to me that there is no reason that there can't be a VB6 compiler that would target the CLR. For all you budding

Re: [Mono-list] P/Invoke question

2005-03-17 Thread Jonathan Pryor
On Thu, 2005-03-17 at 11:47 +, James Fitzsimons wrote: For instance, you could declare the P/Invoke function to take an array of CvPoint2D32f elements, then construct this array in the code that calls this function (the wrapper) with the appropriate size. Perhaps, if you know

RE: [Mono-list] Deamonize. Running a Mono app. in the background

2005-03-16 Thread Jonathan Pryor
On Tue, 2005-03-15 at 16:24 -0700, Jesse Pasichnyk wrote: Are the execv, setuid and setgid methods working? I wrote some stuff using those, and it did the execv fine, but didn't seem to want to change the identity the application was running under. The exe had permissions 6755. Is this

Re: [Mono-list] accessing struct instance from managed code

2005-02-26 Thread Jonathan Pryor
On Fri, 2005-02-25 at 14:02 -0500, Nigel Benns wrote: ok... this is the lowdown :) in C: struct try { int *blah; } In C#: struct try { public System.IntPtr blah; } int main() { object *meh; int *thing; meh = try_new(); thing

Re: [Mono-list] compilation time/run time

2005-02-26 Thread Jonathan Pryor
Below... On Wed, 2005-02-23 at 20:24 -0800, Julien Sobrier wrote: I try to understand was is statically compiled, and what is loaded at tun time. I have 3 binary file: Program.exe, Plugin.dll, and Share.dll Share.dll contains objects used by both Plugin.dll and Program.exe. I compile

Re: [Mono-list] Re: Compiling debugger

2005-02-21 Thread Jonathan Pryor
On Mon, 2005-02-21 at 10:56 +0100, Aleksandar Dezelin wrote: I've managed to compile it, but it's unusable!!! How do you folks debug in Mono??? Console.WriteLine() and printf(). :-) There are also ways to use gdb; see http://www.go-mono.com/jit-debug.html - Jon

Re: [Mono-list] monodoc missing content

2005-02-20 Thread Jonathan Pryor
On Sun, 2005-02-20 at 10:34 +, Dave Murphy wrote: I've compiled monodoc from svn, but I'm missing the Mono Handbook and Gtk# content. Any ideas why? In general, documentation goes in the same module as what it's documenting. So the Gtk# documentation is in the gtk-sharp module, and the

Re: [Mono-list] Casting delegates

2005-02-16 Thread Jonathan Pryor
On Tue, 2005-02-15 at 21:22 +0100, Kris Luyten wrote: It seems mcs can not compile statements of the following structure: ((PInputEventHandler)each)(this, e); where each is of type Delegate, and PInputEventHandler is defined as public delegate void PInputEventHandler(object sender,

Re: [Mono-docs-list] Monodoc split, redux

2005-02-13 Thread Jonathan Pryor
On Sat, 2005-02-12 at 17:37 -0500, Miguel de Icaza wrote: Hey, Might I suggest mono-tools? It already exists, Type Reflector is already in it (as is the debugger, but that can change if necessary), and it has a prototype .spec file for RPM builds. Mhm, I checked this out today and it

Re: [Mono-list] P/Invoke on amd64 was :Marshalling problems

2005-02-12 Thread Jonathan Pryor
On Sat, 2005-02-12 at 13:48 +, James Fitzsimons wrote: Hi all, so I just tried this from within a 32bit chroot and it works. It seems that P/Invoke doesn't work on 64bit mono at the moment? Does anyone know when this might be planned for? snip/ Unhandled Exception:

Re: [Mono-list] P/Invoke on amd64 was :Marshalling problems

2005-02-12 Thread Jonathan Pryor
On Sat, 2005-02-12 at 15:18 +, James Fitzsimons wrote: Hi Jonathan, On Sat, 2005-02-12 at 15:07, Jonathan Pryor wrote: Unhandled Exception: System.DllNotFoundException: highgui in 0x000bf (wrapper managed-to-native) Slam.CvImage:cvLoadImage (string,int) in 0x00068

Re: [Mono-list] P/Invoke on amd64 was :Marshalling problems

2005-02-12 Thread Jonathan Pryor
On Sat, 2005-02-12 at 22:04 +, James Fitzsimons wrote: So as an experiment, try writing a C program which uses that library, and compile/link with the 64-bit GCC (whatever that may be named), and run your C program. If this fails, which I suspect it will, you will know why Mono can't

Re: [Mono-list] Mono framework on Windows

2005-01-30 Thread Jonathan Pryor
On Sun, 2005-01-30 at 12:53 -0500, Miguel de Icaza wrote: We should still fix the bug for .NET users. Please file a bug report. This is a known bug: http://bugzilla.ximian.com/show_bug.cgi?id=68713 Though I have no idea what the progress is... - Jon

[Mono-docs-list] Monodocer Update

2005-01-29 Thread Jonathan Pryor
I was getting a NullReferenceException when running monodocer -assembly:/path/to/Mono.Posix.dll -path:docs/dir Because Type.Namespace was null within monodocer.cs:GetTypeFileName due to the internal Locale class. I've committed a patch to avoid the exception (revision 39775). Thanks,

Re: [Mono-list] Xcopy deployment of dlls

2005-01-26 Thread Jonathan Pryor
On Wed, 2005-01-26 at 16:00 +, Chris Aitken wrote: Hi Guys ( gals), Is mono supposed to support xcopy deployment? Yes. I have to restart xsp (actually apache2 with mod_mono) everytime I add a new dll to my ./bin/ directory. That's not XCOPY Deployment, at least as I understand it.

Re: [Mono-list] Mono C# and Windows Shares

2005-01-21 Thread Jonathan Pryor
On Fri, 2005-01-21 at 12:04 +0100, Trygve Falch wrote: On Fri, 2005-01-21 at 10:55 +, Dick Porter wrote: On Fri, 2005-01-21 at 11:27 +0100, Trygve Falch wrote: File.Copy using UNC-paths under windows works OK, but not surprisingly under say Linux. We don't support UNC paths. To

Re: [Mono-list] mono support for C++

2005-01-20 Thread Jonathan Pryor
On Thu, 2005-01-20 at 12:09 +, Kala B wrote: Hi, Just wanted to get some information on the plan for supporting C++ on mono. Has work already started for this? The current plan consists of this: 1. Point at C++ code 2. Say Ha Ha in Nelson's voice (from The Simpsons) 3. Profit! :-)

Re: [Mono-list] Possible JIT bug

2005-01-19 Thread Jonathan Pryor
On Wed, 2005-01-19 at 08:51 +0200, Mike Welham wrote: I've been working with multidimensional arrays and have run into some code that compiles fine with both mcs and Microsoft's C# compiler, runs fine in Microsoft's runtime and with mint, but throws a NullReferenceException with mono. I can

Re: [Mono-list] Questions on the Mono roadmap

2005-01-18 Thread Jonathan Pryor
On Tue, 2005-01-18 at 20:28 +0100, Paolo Molaro wrote: The new CLI/C++ proposal is not much better either, especially if you're interested in 64 bit platforms: it's designed to work only on braindamaged 64 bit archs with 32 bit longs (ie win64). Just curious, but what part of the C++/CLI

Re: [Mono-list] Error compiling mono on SuSe 8.x

2005-01-13 Thread Jonathan Pryor
On Thu, 2005-01-13 at 13:45 -0600, Fuller, Elmer O wrote: Ok, I am compiling just fine until trying the arch directory. I get the following error. Any ideas on how to get past this compile error? Welcome to UnitedLinux 1.0 (ia64) - Kernel 2.4.21-112-itanium2-smp (5).

Re: [Mono-list] doctool

2005-01-10 Thread Jonathan Pryor
On Mon, 2005-01-10 at 04:58 -0600, Francisco T. Martinez wrote: lala lalala wrote: is there a doc tool to use like java's javadoc but for mono in linux? yes. MonoDoc This isn't an entirely useful answer, as MonoDoc isn't anything like JavaDoc. MonoDoc is primarily a documentation

RE: [Mono-list] Interop

2005-01-10 Thread Jonathan Pryor
On Mon, 2005-01-10 at 18:44 +0100, Javier Miguel Gonzalez wrote: Hello John, Did you mean that I can call SWIG to create a c++ wrapper for a Mono dll (managed)? SWIG only creates managed wrappers for unmanaged code. You can't use it to call managed code from C++. As mentioned elsewhere:

Re: [Mono-list] RE: Support for .NET/COM interoperability

2005-01-04 Thread Jonathan Pryor
On Mon, 2005-01-03 at 16:54 +, Robik, Scott wrote: If I understand your response correctly, in order to access COM calculators that I currently have, I would also need to be running the COM runtime on the UNIX host. Maybe. See below. If this is true then it sound like my only option

Re: [Mono-list] Support for Marshal.PtrToStructure in mono?

2005-01-04 Thread Jonathan Pryor
On Tue, 2005-01-04 at 13:48 +, Kala B wrote: Hi, mono supports Marshal.PtrToStructure when the structure has a char[] with Charset = Unicode, but does not support a string!! snip/ Is there any specific reason/ major difference for mono supporting char[] with Marshal.PtrToStructure

Re: [Mono-list] Some general advice for a newbie, please

2004-12-31 Thread Jonathan Pryor
On Thu, 2004-12-30 at 23:52 +, Paul wrote: System.Windows.Forms is not complete. Not remotely complete. Actually, you're quite wrong there. In the development branch (and from the last discussed on there), it was somewhere near 86% done. There's complete meaning it works for me, and

Re: [Mono-list] Some general advice for a newbie, please

2004-12-30 Thread Jonathan Pryor
Further proving that we need to update the FAQ... System.Windows.Forms is not complete. Not remotely complete. You're attempting to run the 2nd-generation System.Windows.Forms implementation (Wine-based). This has been discarded (it was too complicated), and work is going on to implement a 3rd

Re: [Mono-list] Re: Seeing Values of Unwound Stack variables at Exception Handler

2004-12-24 Thread Jonathan Pryor
On Fri, 2004-12-24 at 00:53 -0500, Jonathan Gilbert wrote: I'm not sure about custom stack unwinder notification, but it seems to me, the pattern you've written there, that is: bool finished = false; try { ... finished = true; } finally { if (!finished) { ... } }

Re: [Mono-list] mwf -ncurses

2004-12-20 Thread Jonathan Pryor
On Mon, 2004-12-20 at 15:37 -0800, Eduardo Osorio Armenta wrote: i was wondering if something like a ncurses-driver could be make it for a MWF i'm thinking something to work like charva: http://www.pitman.co.za/projects/charva/index.html it's that posible? As Peter Bartok said,

Re: [Mono-list] Re: interesting discussion regarding managed dynamic libraries

2004-12-16 Thread Jonathan Pryor
On Thu, 2004-12-16 at 12:20 +, Gregory Bowyer wrote: snip what=Inverse P/Invoke/ Isn't this what was being talked about in Miguels blog here http://primates.ximian.com/~miguel/archive/2004/Dec-13.html Inverse P/Invoke and cilc are similar in that they are both answers to the question: how

Re: [Mono-list] Re: Calling back from unmanaged code to managed code.

2004-12-16 Thread Jonathan Pryor
Just for fun, I'll write the equivalent C# declarations inline with the C code. Note that I haven't tried to compile this, but the basic idea should be seen... On Thu, 2004-12-16 at 13:32 -0500, Nigel Benns wrote: Here is a C example to do a DeleteEvent: void delete_cb(Ewl_Widget *w, void

Re: [Mono-list] Support for marshalling of C# string to unmanaged wchar_t on Linux

2004-12-16 Thread Jonathan Pryor
Your code is buggy, but I'll tackle it anyway. :-) On Thu, 2004-12-16 at 13:12 +, Kala B wrote: Hi, Does mono support marshalling of C# string to unmanaged wchar_t on Linux? No. Actually, I was surprised it ran at all (I was expecting a g_assert_not_reached() message), but once I ran

Re: [Mono-list] Mono libraries

2004-12-15 Thread Jonathan Pryor
On Wed, 2004-12-15 at 15:29 +0100, Martin Hansen wrote: But I cannot figure out how to convince mcs/mono to use the libraries that I compiled. mcs should automatically use the libraries that you compiled, as long as those libraries are present in the GAC. If you want to test a newer version of

Re: [Mono-list] Re: Time problems on Mono

2004-12-13 Thread Jonathan Pryor
On Mon, 2004-12-13 at 01:48 -0800, Jordi wrote: Sorry for my ignorance but what's the difference between Mono JIT and Mono Interpreter??. You've hit on it already. The interpreter (mint) is slower than molasses in January, while the JIT (mono) is fast. More accurately, the JIT is a JIT,

Re: [Mono-list] Interop

2004-12-13 Thread Jonathan Pryor
On Mon, 2004-12-13 at 10:35 +0100, Javier Miguel Gonzalez wrote: I want to call a .Net function (in a class) from unmanaged code, like VC++ 6 or Delphi 7. Do you know if it is possible? Maybe. It depends on what syntax/functionality you want to enable. Are there something like JNI in

Re: [Mono-list] RE: Interop

2004-12-13 Thread Jonathan Pryor
On Mon, 2004-12-13 at 15:54 +0100, Javier Miguel Gonzalez wrote: I have to deliver some libraries (DLL's written in Delphi 7) for use in unmanaged environments, and I am planning to migrate them to C# with mono and let them run in linux/unix too. The callback-based/delegate mechanism is

Re: [Mono-list] Re: Time problems on Mono

2004-12-13 Thread Jonathan Pryor
On Mon, 2004-12-13 at 04:31 -0800, Jordi wrote: Thanks for the explanation Jon...its good to know things like that. I guess that the both of them (Mono JIT and Mono interpreter) are the runtimes that could be used. Aren't they?. Yes, though it should also be mentioned that the interpreter is

Re: [Mono-list] Mixing languages within

2004-12-12 Thread Jonathan Pryor
On Fri, 2004-12-10 at 14:30 +, Colin JN Breame wrote: Jonathan Gilbert wrote: Not exactly right. You're leaving out an intermediate step: an individual source code file can be compiled to a .netmodule, and .netmodules compiled with different languages can be mixed within a single

Re: [Mono-list] Re: Calling back from unmanaged code to managed code.

2004-12-12 Thread Jonathan Pryor
On Fri, 2004-12-10 at 19:02 +, Gregory Bowyer wrote: Paolo Molaro wrote: We could easily remove this assert and instead add the code to setup the thread to execute managed code. This won't solve the whole issue, though: the GC needs to know about the thread and its stack limits or it

Re: [Mono-list] C - C# strings

2004-12-12 Thread Jonathan Pryor
On Mon, 2004-12-13 at 10:24 +1000, Bryan Buchanan wrote: Hi, Can some please tell me why I cannot return 8 bit strings from C to C#. You can return 8-bit strings, but they need to be specially encoded 8- bit strings. UTF-8 encoded strings, in particular. An example of a valid 8-bit string

Re: [Mono-list] mono or .Net

2004-12-05 Thread Jonathan Pryor
On Sat, 2004-12-04 at 17:42 +0100, Ivan Turcan wrote: How can i determine within my application if is running uder Mono or under Net ? or if i am running on Windows/Linux/Mac ?? exists here some namespace/methods or so ? The first question is this: do you really need to determine that? It is

Re: [Mono-list] True C# vs Mono-C# Documentation?

2004-12-03 Thread Jonathan Pryor
On Fri, 2004-12-03 at 19:31 +0200, Lennie De Villiers wrote: Im a newbie to Mono / Mono C#, Ive a true-C# application (true-C# being C# for Microsofts .NET framework) application containing out of thousands worth of lines of code that I must convert to running on Linux on a clients request.

Re: [Mono-list] Platform invoke for stdarg

2004-11-17 Thread Jonathan Pryor
On Tue, 2004-11-16 at 14:13 +0100, Francis Brosnan Blzquez wrote: El lun, 15-11-2004 a las 20:54 -0500, Jonathan Pryor escribi: On Mon, 2004-11-15 at 20:24 +0100, Francis Brosnan Blzquez wrote: Hi, I'm trying to do a P/Invoke call for functions such as void Test(int value

Re: [Mono-list] Platform invoke for stdarg

2004-11-15 Thread Jonathan Pryor
On Mon, 2004-11-15 at 20:24 +0100, Francis Brosnan Blzquez wrote: Hi, I'm trying to do a P/Invoke call for functions such as void Test(int value, ...); But I don't get it working. Is it posible to do a platform invoke for c functions that make use of stdarg api? No, and Maybe.

Re: [Mono-list] assertion g_utf8_validate failed

2004-11-12 Thread Jonathan Pryor
On Fri, 2004-11-12 at 00:50 -0300, Mario Fuentes wrote: All machines are GNU/Linux (Debian). I'm confused about how to use Gdk.Threads.[Enter|Leave](), occasionally the GUI is freezed. Don't use Gdk.Threads.Enter and Gdk.Threads.Leave, *ever*, unless you (1) *really* know what you're doing,

Re: [Mono-list] assertion g_utf8_validate failed

2004-11-11 Thread Jonathan Pryor
On Thu, 2004-11-11 at 12:03 -0300, Mario Fuentes wrote: Hello, I have a problem with sockets, threads and TextView. When a message is received, I add this to a TextView but in some machine it crash with this error: Can you elaborate on some machine? Does it work occasionally and fail

Re: [Mono-list] Installing multiiple Versions of mono

2004-11-10 Thread Jonathan Pryor
On Wed, 2004-11-10 at 05:25, Philipp Knecht wrote: Hi I wanna use 1.0.4 (stable) and latest on the same box. I use Ubuntu 4.10. I've already compiled and installed 1.0.4 (libgdiplus,mono,mcs,xsp,gtk# in this particular order) with the prefix /usr/local. Now i'll download the latest tarball

Re: [Mono-list] Installing multiiple Versions of mono

2004-11-10 Thread Jonathan Pryor
On Wed, 2004-11-10 at 07:23, Philipp Knecht wrote: snip/ Where can i set those enviroment variables (defaults)? - .bashrc - or profile.bashrc - or rc.2,rc.3,... (runlevel scripts) - or init.d - somewhere else I would suggest somewhere else. Personally, I've put my changes in

Re: [Mono-docs-list] Rendering example/ blocks

2004-11-04 Thread Jonathan Pryor
-r1.139 ChangeLog --- browser/ChangeLog 3 Nov 2004 07:26:25 - 1.139 +++ browser/ChangeLog 5 Nov 2004 01:18:44 - @@ -1,3 +1,13 @@ +2004-11-04 Jonathan Pryor [EMAIL PROTECTED] + + * colorizer.cs: If a language is unrecognized, escape the XML so that it + will be properly rendered within

Re: [Mono-list] Int32

2004-10-29 Thread Jonathan Pryor
On Fri, 2004-10-29 at 09:58, Pedro Santos wrote: In 64 bits processor arquitectures(64BA) will Int32 still have 32 bits? Probably. I know AMD64 still uses 32-bit ints -- it reduces memory traffic, keeping performance sane. Would that be a performance issue? Yes. It will *improve*

RE: [Mono-list] Custom Marshalling

2004-10-28 Thread Jonathan Pryor
You're making this far too difficult on yourself. See below. On Thu, 2004-10-28 at 19:57, [EMAIL PROTECTED] wrote: I'll attempt to think before I type this time :-) I have a a C routine I wish to call that takes the following parameters: typedef struct XXXCB { short a; char

Re: [Mono-list] Monodoc in win32

2004-10-27 Thread Jonathan Pryor
On Tue, 2004-10-26 at 22:12, Mahomedalid Ivan Crow wrote: Newbie question... How i can build monodoc in win32? Right now, you don't. Monodoc depends on gecko-sharp, which doesn't run on Windows. Actually, gecko-sharp *can* run on Windows; someone was working on it earlier this week on IRC.

Re: [Mono-list] prj2make install problem

2004-10-27 Thread Jonathan Pryor
On Wed, 2004-10-27 at 01:27, Kusuma Sujiwo wrote: I tried to use prj2make on ubuntu to re-compile .cs file that was created using VS.NET to run on mono. But I got various error. 1. If I try to install from source, I get the error could not find gnome-sharp on ./configure step. I browsed

Re: [Mono-list] Ask Microsoft: Mono support

2004-10-27 Thread Jonathan Pryor
On Wed, 2004-10-27 at 05:13, Jonathan Stowe wrote: On Wed, 2004-10-27 at 09:04, RoBiK wrote: http://searchvb.techtarget.com/originalContent/0,289142,sid8_gci1019210,00.h tml Mono is an attempt by Novell to reverse engineer parts of Microsoft's .NET Framework. A

Re: [Mono-list] Ask Microsoft: Mono support

2004-10-27 Thread Jonathan Pryor
On Wed, 2004-10-27 at 06:45, George Birbilis wrote: I don't consider viewing an assembly's publicly exposed methods/fields etc. to be reverse engineering If you decompile though and copy/paste code parts etc. then it is reverse engineering and could potentially cause problems similar to the

Re: [Mono-list] Ask Microsoft: Mono support

2004-10-27 Thread Jonathan Pryor
On Wed, 2004-10-27 at 06:48, Jonathan Stowe wrote: snip/ Yes this all true but (and possibly only in my reading) the attempt by Novell phrase appears to be trying to give it an entirely negative connotation. I suppose that does have a slightly negative connotation. More galling to me is that

[Mono-docs-list] Man page support and Linking

2004-10-26 Thread Jonathan Pryor
I'm thinking of the future, of documenting Mono.Posix. :-) However, as much of Mono.Posix is just a wrapping over existing functions, most of which already have their own man pages, I see little point in duplicating all of this documentation. Thus, two questions: 1. Does monodoc support man

Re: [Mono-docs-list] Man page support and Linking

2004-10-26 Thread Jonathan Pryor
On Tue, 2004-10-26 at 08:10, Joshua Tauberer wrote: Jonathan Pryor wrote: 1. Does monodoc support man pages yet? If not, when will it? It would only work in Unix, then. Are the man pages licensed in such a way as to allow their embedding in Monodoc? That'd be easier, and it would

Re: [Mono-list] Unterminated string

2004-10-26 Thread Jonathan Pryor
On Fri, 2004-10-22 at 15:59, [EMAIL PROTECTED] wrote: I am trying to write a .Net interface to a system of ours. The system takes the following structure: struct XXXid { short level; short size; charnode[8]; char user[8]; int no; } Both user

RE: [Mono-list] P/Invoke question...

2004-10-26 Thread Jonathan Pryor
On Tue, 2004-10-26 at 12:28, Tom Shelton wrote: Well, a it looks like there is more to this... I actually am getting the error: err:module:import_dll Library mscoree.dll (which is needed by LF:\\dp\\test.exe) not found err:module:LdrInitializeThunk Main exe initialization for

Re: [Mono-list] nice value

2004-10-25 Thread Jonathan Pryor
On Sun, 2004-10-24 at 17:34, Rob Brown-Bayliss wrote: Hi, how would I go about changing the nice value of an app I have written in mono from within the app it's self? You can use Mono.Posix.Syscall.nice(), which invokes the nice(2) system call. - Jon

Re: [Mono-list] P/Invoke question...

2004-10-25 Thread Jonathan Pryor
On Mon, 2004-10-25 at 19:32, Tom Shelton wrote: Ok... I have a bit of simple c++ code that is currently residing in a WIN32 dll. This code is called by a custom data provider for a proprietary database (this already works on win32, we're just trying to port the provider over to mono). I

Re: [Mono-list] Using the Microsoft class libraries with the Mono CLR

2004-10-19 Thread Jonathan Pryor
On Tue, 2004-10-19 at 04:19, Evan Clarke wrote: I have narrowed it down to comparing the performance of some of the standard class libraries as implemented by both Mono and Microsoft. The only fair way to benchmark these would be in the same environment, and using the same CLR to remove the

Re: [Mono-list] Can mono can be made case insensitive.

2004-10-15 Thread Jonathan Pryor
On Fri, 2004-10-15 at 08:24, Lokesh N wrote: Is mono case sensitive ? Mono is as case-sensitive as the underlying file-system. :-) (Meaning it's case-insensitive on Windows and case-sensitive on Unix and Unix-like systems.) If so can mono be made case insensitive Not likely. At least, not

Re: [Mono-list] Preprocessor

2004-10-12 Thread Jonathan Pryor
On Tue, 2004-10-12 at 05:41, Fabien Meghazi wrote: Got a simple question and I'm not lucky with google for this. I'm searching the preprocessor directive that allows to replace names before compilation. I know it is possible in C but I don't remember how to, I guess it's not DEFINE. My goal

RE: [Mono-list] How many strings do I have?

2004-10-09 Thread Jonathan Pryor
On Fri, 2004-10-08 at 04:39, Jeroen Frijters wrote: Jonathan Gilbert wrote: Once a string is in the pool, it can NEVER be removed (until the AppDomain is disposed). In Java the string intern pool uses weak references. I don't know about .NET, but I'd hope it does the same. I believe it

Re: [Mono-list] EntryPointNotFoundException: map_Mono_Posix_PollEvents

2004-10-09 Thread Jonathan Pryor
On Fri, 2004-10-08 at 11:21, Shaun Jackman wrote: I am not completely familiar with the C# platform. Are the .exe files that mono generates cross-platform? For example, can I expect the same exe to run on Linux, Win32 and Pocket PC platforms? You can, with some limitations. Basically, the

RE: [Mono-list] mono scripting?

2004-10-08 Thread Jonathan Pryor
On Fri, 2004-10-08 at 05:41, RoBiK wrote: Hi Daniel! There is no scripting language for mono because the Common Language Runtime executes only compiled code, But it's possible for the compiled code that the CLR is executing to be an interpreter, which in turn executes a scripting language.

RE: [Mono-list] conversions

2004-10-06 Thread Jonathan Pryor
On Wed, 2004-10-06 at 03:59, Polton, Richard (IT) wrote: If the char which is to be converted is 0661, say, then what will be the value of the subtraction? Will it be 0661 - 0660 or will it be 0661 - 0030? I assume that a literal '0' will always map to 0030 rather than cleverly detect the

RE: [Mono-list] conversions

2004-10-05 Thread Jonathan Pryor
On Tue, 2004-10-05 at 04:34, Polton, Richard (IT) wrote: In fact, habing given it further thought, I have a couple of questions: i) if I sit at a Japanese terminal (for example) and enter '-', i.e. ichi or 'one', is this a valid Unicode character? Yes. ii) how wide is the 'char' datatype?

RE: [Mono-list] conversions

2004-10-05 Thread Jonathan Pryor
, 2004-10-05 at 07:31, Polton, Richard (IT) wrote: Thanks for this. Is it fair to say, then, that only Arabic numerals are counted as digits? Even though other numeric characters have integer values? -Original Message- From: Jonathan Pryor [mailto:[EMAIL PROTECTED] Sent: 05 October

[Mono-list] Mono.Posix OEE 0.3

2004-10-04 Thread Jonathan Pryor
Mono.Posix Over-Engineered Edition 0.3. OK, I lied. I'm didn't integrate with CVS after 0.2. Instead I kept hacking on the current code base... So sue me. Major Changes since 0.2: - C code uses typedefs for managed/unmanaged mapping. I should have done this in the first

Re: [Mono-list] copying pointer data without unsafe code ?

2004-09-30 Thread Jonathan Pryor
On Thu, 2004-09-30 at 13:37, Glenn Pierce wrote: snip/ The client C code would be: void* buf; buf = malloc (bufsize); retval = GetImageData (buf, bufsize); What I need is to get the image data into a managed array. Question 1: What *exactly* is your image data? A void* doesn't tell me

Re: [Mono-list] Which namespace to use?

2004-09-28 Thread Jonathan Pryor
On Tue, 2004-09-28 at 01:01, Eric Damron wrote: Which namespace should I look at that would have methods to allow me to draw and then create either a JPG or PNG file from the drawing? System.Drawing and it's related namespaces (System.Drawing.Imaging, System.Drawing.Printing, etc.) are what

Re: [Mono-list] conversions

2004-09-24 Thread Jonathan Pryor
On Fri, 2004-09-24 at 06:34, Richard Polton wrote: snip/ So, my question is, is it a requirement of all .NET (and Mono) applications that the character set used is ASCII or similar? The character set inside of Mono/.NET is Unicode, in particular UTF-16, native-endian. ASCII is a subset of

Re: [Mono-list] Please help me with polimorfism, etc. (possible bug in the compiler?)

2004-09-23 Thread Jonathan Pryor
On Thu, 2004-09-23 at 01:27, Roberto Jimeno wrote: Now I think I'm simply being confused about inheritance, A particular way of implementing the substitutability principle. There are other techniques used by other languages, but inheritance is currently the most popular. polimorfism,

RE: [Mono-list] System.Environment.GetFolder(...)

2004-09-16 Thread Jonathan Pryor
On Wed, 2004-09-15 at 11:26, Sebastien Pouliot wrote: Under Linux (and other OS) it will try to map the requested enum to the best location (many maps to the same location). Best way to learn the exact location is (a) monodoc (when documentation is available) or (b) reading the source code.

Re: [Mono-list] directory path separator

2004-09-16 Thread Jonathan Pryor
On Thu, 2004-09-16 at 09:50, Kevin White wrote: In java there is the notion of using a system variable to tell you what the platform-specific folder separator is. Is the same true for .Net? I've only done .Net on windows and haven't cared until now. As others have already stated, you can use

Re: [Mono-list] Security Q

2004-09-09 Thread Jonathan Pryor
On Wed, 2004-09-08 at 17:47, Joshua Tauberer wrote: In defense of the original question, here's a real world situation I have had to deal with: I am involved in commercial software that has an extremely small market, but the software is very valuable (i.e. pricey). Thus, each purchase of

Re: [Mono-list] Memory Allocation in unmanaged code

2004-09-09 Thread Jonathan Pryor
On Wed, 2004-09-08 at 17:43, Jim Fehlig wrote: Jonathan Pryor [EMAIL PROTECTED] 09/06/04 4:57 pm snip/ I modified the wrapper implementation to use unsafe code but still unsuccessful in retrieving properties from the C# structure below. The unmanaged ListLocalPrinters is returning a list

Re: [Mono-list] Memory Allocation in unmanaged code

2004-09-06 Thread Jonathan Pryor
Below... On Fri, 2004-09-03 at 20:10, Jim Fehlig wrote: I am having difficulty with a C# wrapper for some unmanaged C code that allocates a list. Unmanaged code snippet: typedef struct CupsPrinterListStruct { char printerUri[1024]; char printerCupsUri[1024];

Re: [Mono-list] [OT] MonoLOGO

2004-09-03 Thread Jonathan Pryor
On Thu, 2004-09-02 at 09:37, George Birbilis wrote: snip/ Do you mean the anonymous, web-based CVS or someother CVS? Do I need some local CVS client software or can I grab that module from the web somehow? Yes, you need a local CVS client to checkout the sources. Cvs should be installed on

Re: [Mono-list] [OT] MonoLOGO

2004-09-02 Thread Jonathan Pryor
On Wed, 2004-09-01 at 09:39, George Birbilis wrote: sorry for the really off-topic reply, but I've been searching the MonoLogo stuff at the CVS with no success (it's a page in Hespaniol that CVS?). Is MonoLogo still arround at the CVS (thanks in advance for any mono CVS user that can reply to

[Mono-list] Re: [Mono-devel-list] How hard is it to install Mono?

2004-08-25 Thread Jonathan Pryor
On Tue, 2004-08-24 at 14:48, Stacey Abshire wrote: snip/ One other thing, and I really don't want to get flames on this, but it would be very cool, if you guys could work with the Linspire group to bring the mono runtime, and mono development tools to that linux platform. I use it for my

Re: [Mono-list] Debug Files *.mdb

2004-08-25 Thread Jonathan Pryor
On Wed, 2004-08-25 at 12:33, Matthew Metnetsky wrote: What exactly are the .mdb files created when compiling code with the `-debug+` switch on? They are Dwarf-2 debug symbols (IIRC). Are they Access databases? No. mdb probably means MCS Debug, though I'm open to correction. How can I

Re: [Mono-list] Reply to address

2004-08-18 Thread Jonathan Pryor
On Wed, 2004-08-18 at 05:26, Maynard Kuona wrote: I am wondering how this mailing list is setup. I am used to, on other mailing lists to just clicking on reply to reply to the list, given that the reply to address is usually the posting address. If its not too much of a bother, could this be

<    5   6   7   8   9   10   11   12   >