[Mono-list] ASP.NET App breaks with Mono 0.30

2004-02-23 Thread Tracy Barlow
I installed Mono 30.0 and mod-mono 0.7 and my ASP.NET application crashes with the following error message. I had originally compiled it under Mono 0.29, I recompiled it with Mono 30.0, and it crashes with the same error message. The app works fine if I reinstall Mono 0.29 and mode-mono 0.6. S

[Mono-list] The Evil of ___tls_get_addr Returns

2004-02-23 Thread Samuel Kaufman
This is the Mono AnonCVS HEAD on Gentoo Linux with glibc 2.3.2-r9. The check for __thread during configure gives me 'yes'. ...lots of nothing, and then... make[3]: Entering directory `/usr/src/mono/mono/interpreter' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/mono

[Mono-list] mono on freebsd 5.2

2004-02-23 Thread Cesar Mello
Hello, I have compiled the latest mono daily on my brand new FreeBSD 5.2.1 box. It seems to have compiled ok; mono and mcs run but when I try to compile something with mcs, it hangs. Any ideas? Thanks! Cesar ___ Mono-list maillist - [EMAIL PROTECTE

Re: [Mono-list] Mcs vs Mono package

2004-02-23 Thread Miguel de Icaza
> I would like to know why there is a mono package and a mcs package if > they create equal files: It is a historical difference. C-source code lives in `mono', C#-source code lives in `mcs'. To simplify the lives of those who do not have an existing working environment the compiled and portable

Re: [Mono-list] Pro Mono ?

2004-02-23 Thread ben
Quoting "Met @ Uber" <[EMAIL PROTECTED]>: I'll name a few off the top of my head > What are the benefits of .NET? - Cross language interoperability. - Secure runtime environment. - Detailed and complete class libraries. - Extensibility. - Deployment tools. - Integrated web services. - MS inc

Re: [Mono-list] IDE for mono/linux

2004-02-23 Thread Alex Combas
The way I do it: 1. unzip the package 2. open a terminal 3. launch emacs in terminal mode: emacs -nw -l /path/to/zbrad.emacs sourcecode.cs For programming you should learn about: +x compile +x eshell Emacs also has a built-in tutorial, I highly suggest you go over it a few times if you're new

[Mono-list] Pro Mono ?

2004-02-23 Thread Met @ Uber
I have a feeling that there is no way for me to appropriately gather all the information I need by myself... So I'm posing this question in order to help my company make an informed decision purely based off the technology (we'll deal with the rest). What are the benefits of .NET? What are the

Re: [Mono-list] IDE for mono/linux

2004-02-23 Thread manuel kaderli
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >http://davh.dk/script/ I downloaded the files from http://www.cybercom.net/~zbrad/DotNet/Emacs/ and i didn't find a readme. >that works for me under cygwin-1.5.7- W2K >and Mdk9.0-9.1 It also works for me. Thank you. Probably i understand emacs a lit

Re: [Mono-list] IDE for mono/linux

2004-02-23 Thread Eduardo Osorio Armenta
for Emacs... read http://www.go-mono.com:8080/ under: Mono HandBook->Installing Mono and Choosing the IDE and then under Modes go to http://davh.dk/script/ to download C-sharp (C#) mode for emacs. - Latest update 4. may 2003... and then create a subdir called emacs [EMAIL PROTECTE

Re: [Mono-list] IDE for mono/linux

2004-02-23 Thread manuel kaderli
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 21 February 2004 04:21, Manish Chakravarty wrote: > For the docs you will have to consult the LDP .. i guess.. the docs with > emacs itself are good though I guess you are right. But i have no idea how to use this package whit emacs. I have

RE: [Mono-list] Socket code.

2004-02-23 Thread Piers Haken
I'm not sure why you're checking for specific lengths of bytes returned at all. This is what I use: string Read (Stream stream) { StringBuilder sb = new StringBuilder (); byte [] rgb = new byte [8 * 1024]; int cbRead; while ((cbRead = stream.Read (rgb, 0, rgb.Lengt

Re: [Mono-list] C# Hexadecimal Escape Char Anomalies???

2004-02-23 Thread Matthew Franz
Thanks for all the helpful responses. They helped me realize that Strings aren't the way to go, because I needed use byte anyway since that is ultimately what I needed for sending out on the network with. SendTo byte[] b = {0x00, 0x12, 0x34, 0x56, 0xAA, 0x55, 0xFF}; - mdf > > Well, yo

[Mono-list] Re: [Mono-devel-list] Writing assembly

2004-02-23 Thread Jonathan Gilbert
At 04:06 PM 23/02/2004 +0100, you wrote: >On 02/12/04 Eric Durand-Tremblay wrote: >> Does anyone know a way to emit (with reflection) an already existing >> class (compiled in C#). We looked at System.Reflection.Emit namespace >> but we are only able to save dynamicaly created assembly. >> >> I

RE: [Mono-list] C# Hexadecimal Escape Char Anomalies???

2004-02-23 Thread A Rafael D Teixeira
Matthew Franz wrote: I realize this is a C# issue but can one create "binary strings" in C# using string="\xff\x00\x00\xff" used by C/Python? Why do my 0xff's get translated to 0x3f's??? Well, you are forgetting that C# strings are Unicode (UTF-16

Re: [Mono-list] C# Hexadecimal Escape Char Anomalies???

2004-02-23 Thread Michal Moskal
On Mon, Feb 23, 2004 at 10:32:53AM +0100, Gonzalo Paniagua Javier wrote: > El lun, 23-02-2004 a las 05:34, Matthew Franz escribió: > > I realize this is a C# issue but can one create "binary strings" in C# using > > string="\xff\x00\x00\xff" used by C/Python? > > > > Why do my 0xff's get translate

Re: [Mono-list] Socket code.

2004-02-23 Thread Michal Moskal
On Mon, Feb 23, 2004 at 08:51:36PM +1100, Iain McCoy wrote: > On Mon, 2004-02-23 at 19:37, Michal Moskal wrote: > > This ain't C -- for errors you should get exception, not -1. > Not so. According to microsoft's guidelines, it depends on the error - > if it's an error that you expect to get often,

[Mono-list] Patch for mcs/class/Cscompmgd/Microsoft.CSharp/Compiler.cs (Jackson)

2004-02-23 Thread Steve Deobald
Here is a patch I wrote weeks (months?) ago to finish a TODO Jackson pointed me to. Tonight I cleaned it up so it actually works and tested it by hand and matched it to the MS Cscompmgd.dll output. There is no unit test for Cscompmgd that I can see... and I'm not sure if I'm the person to be writi

Re: [Mono-list] Socket code.

2004-02-23 Thread Iain McCoy
On Mon, 2004-02-23 at 19:37, Michal Moskal wrote: > This ain't C -- for errors you should get exception, not -1. Not so. According to microsoft's guidelines, it depends on the error - if it's an error that you expect to get often, there should be a return code to indicate it. This is because of the

Re: [Mono-list] C# Hexadecimal Escape Char Anomalies???

2004-02-23 Thread Gonzalo Paniagua Javier
El lun, 23-02-2004 a las 05:34, Matthew Franz escribió: > I realize this is a C# issue but can one create "binary strings" in C# using > string="\xff\x00\x00\xff" used by C/Python? > > Why do my 0xff's get translated to 0x3f's??? I get this: -- [EMAIL PROTECTED]:~/go-mono$ cat bobo.cs using S

Re: [Mono-list] Socket code.

2004-02-23 Thread Michal Moskal
On Mon, Feb 23, 2004 at 10:21:06AM +, Jonathan Gilbert wrote: > At 11:59 AM 22/02/2004 -0800, you wrote: > >On Sun, 2004-02-22 at 01:17, Michal Moskal wrote: > >> On Sat, Feb 21, 2004 at 04:31:00PM -0800, George Farris wrote: > >> > I have some socket code that looks something like this: > >> >

RE: [Mono-list] Gdk: Text drawing on pixmap

2004-02-23 Thread Willem J.W. Semmelink
Thanks Miguel. I got it done. Willem >> Now I also need to draw text on the image. Pixmap however does not >> have a method for drawing text, so is there possibly another way I >> can get text on the pixmap? Look at the mlist source code (on the Gtk# wiki), it shows how to do this. Or the lis