[Mono-docs-list] Problems with apache and XSP

2004-03-19 Thread Julio Omar
Hi I´ve redhat 9 and my question is if I only need
configurate my httpd for work with asp.net and mono
and I don´t need install other version of apache.
This is because i have some problems whit apache and
mod-mono.
   
   

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es
___
Mono-docs-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-docs-list


RE: [Mono-list] Java and C#

2004-03-19 Thread Jeroen Frijters
Jonathan Pryor wrote:
 They really need to document this better...

The problem is that they is really just me... Like most of you, I only
have 24 hours a day :-)

[...excellent explanation deleted...]

 .Method, hence cli.System.EventHandler.Method.  (This could actually
 be a class, but Java convention is for these to be interfaces, so I'm
 assuming they're interfaces.  I'd have to compile a sample app and
 disassemble it to be sure.)

You are correct, it's an interface.

 I suspect that there is no way to add attributes in Java.

Not yet, but in JDK 1.5, Java has attribute support. I haven't tried
yet, but I suspect that .NET attributes can be mapped to Java attributes
and v.v. That would be cool.

Can I put your message on my blog?

Regards,
Jeroen
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problems with Serialisation

2004-03-19 Thread Richard Torkar
On Thu, 2004-03-18 at 13:03 +0100, Michael Kämpf wrote:

 I tried the following code example. It works fine using the Microsoft
 Csharp-Compiler, but doesn't under Mono

* SNIP *

I can compile it with my CVS-version of mcs.
But I can't run it on the other hand.


Unhandled Exception: System.InvalidOperationException: Invalid type:
TestNS.ExponentialDistribution
in 0x00142
System.Xml.Serialization.XmlSerializationWriter:WriteTypedPrimitive
(string,string,object,bool)
in 0x0027f
System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject
(System.Xml.Serialization.XmlTypeMapping,object,string,string,bool,bool,bool)
... and so on...


/Richard

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ICU

2004-03-19 Thread Richard Torkar
On Thu, 2004-03-18 at 12:47 -0500, Abram Gillespie wrote:

 Anyone know what's going on with the ICU website
 (http://oss.software.ibm.com/icu/); it's been down for two days?  I'm eager
 to get monodevelop up and running but can't w/o this package.  Might someone
 post the latest tarball for download?

Someone posted this link to this list the other day:

http://fresh.t-systems-sfr.com/unix/src/misc/icu-2.8.tgz

I have _no_ idea who is providing that package!

/Richard

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono 0.31 - Download links -- Correct links here

2004-03-19 Thread Timothy Parez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

The links for Fedora Core 1 seemed to be messed up,

Here are the correct links

http://www.go-mono.com//archive/0.31/fedora-1-i386/cairo-0.1.17-0.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/cairo-debuginfo-0.1.17-0.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/cairo-devel-0.1.17-0.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/gtk-sharp-0.15-2.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/gtk-sharp-debuginfo-0.15-2.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/gtk-sharp-gapi-0.15-2.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/icu-2.6.1-1.ximian.7.3.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/icu-debuginfo-2.6.1-1.ximian.7.3.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/libgdiplus-0.2-0.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/libgdiplus-debuginfo-0.2-0.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/libgdiplus-devel-0.2-0.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/libicu26-2.6.1-1.ximian.7.3.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/libpixman-0.1.0-1.ximian.7.2.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/libpixman-debuginfo-0.1.0-1.ximian.7.2.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/libpixman-devel-0.1.0-1.ximian.7.2.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/mod_mono-0.7-0.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/mod_mono-debuginfo-0.7-0.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/mono-0.31-1.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/mono-debuginfo-0.31-1.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-LibXML-1.56-1.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-LibXML-Common-0.13-1.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-NamespaceSupport-1.08-1.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-NodeFilter-0.01-1.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-SAX-0.12-1.ximian.7.1.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/xsp-0.9-0.ximian.7.0.i386.rpm
http://www.go-mono.com/archive/0.31/fedora-1-i386/xsp-debuginfo-0.9-0.ximian.7.0.i386.rpm


Quick way to get them:


wget 
http://www.go-mono.com//archive/0.31/fedora-1-i386/cairo-0.1.17-0.ximian.7.1.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/cairo-debuginfo-0.1.17-0.ximian.7.1.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/cairo-devel-0.1.17-0.ximian.7.1.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/gtk-sharp-0.15-2.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/gtk-sharp-debuginfo-0.15-2.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/gtk-sharp-gapi-0.15-2.ximian.7.0.i386.rpm
wget http://www.go-mono.com/archive/0.31/fedora-1-i386/icu-2.6.1-1.ximian.7.3.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/icu-debuginfo-2.6.1-1.ximian.7.3.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/libgdiplus-0.2-0.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/libgdiplus-debuginfo-0.2-0.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/libgdiplus-devel-0.2-0.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/libicu26-2.6.1-1.ximian.7.3.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/libpixman-0.1.0-1.ximian.7.2.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/libpixman-debuginfo-0.1.0-1.ximian.7.2.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/libpixman-devel-0.1.0-1.ximian.7.2.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/mod_mono-0.7-0.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/mod_mono-debuginfo-0.7-0.ximian.7.0.i386.rpm
wget http://www.go-mono.com/archive/0.31/fedora-1-i386/mono-0.31-1.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/mono-debuginfo-0.31-1.ximian.7.0.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-LibXML-1.56-1.ximian.7.1.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-LibXML-Common-0.13-1.ximian.7.1.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-NamespaceSupport-1.08-1.ximian.7.1.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-NodeFilter-0.01-1.ximian.7.1.i386.rpm
wget 
http://www.go-mono.com/archive/0.31/fedora-1-i386/perl-XML-SAX-0.12-1.ximian.7.1.i386.rpm
wget http://www.go-mono.com/archive/0.31/fedora-1-i386/xsp-0.9-0.ximian.7.0.i386.rpm
wget 

[Mono-list] gdiplus

2004-03-19 Thread Kevin Jones
I'm trying to get Winforms to work on Mono under Fedora core 1. I've
installed the mono and mono devel packages, I've also installed WINE,
WINE-MONO, Cairo and libgdiplus. However I don't have gdiplus.dll on my
system. Is there a version of gdiplus.dll for Linux? If so where do I
find it. Google searches have not turned this up.

Thanks,

Kevin Jones

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Ravindra
On Fri, 2004-03-19 at 16:10, Kevin Jones wrote:
 I'm trying to get Winforms to work on Mono under Fedora core 1. I've
 installed the mono and mono devel packages, I've also installed WINE,
 WINE-MONO, Cairo and libgdiplus. However I don't have gdiplus.dll on my
 system. Is there a version of gdiplus.dll for Linux? If so where do I
 find it. Google searches have not turned this up.

Make  install libgdiplus. All the P/Invoke calls to gdiplus.dll get
resolved to libgdiplus.so.

-Ravindra

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Kevin Jones
Thanks Ravindra,

I've installed the libgdiplus RPM, I assume from your reply that this
isn't enough?

Kevin

On Fri, 2004-03-19 at 10:41, Ravindra wrote:
 On Fri, 2004-03-19 at 16:10, Kevin Jones wrote:
  I'm trying to get Winforms to work on Mono under Fedora core 1. I've
  installed the mono and mono devel packages, I've also installed WINE,
  WINE-MONO, Cairo and libgdiplus. However I don't have gdiplus.dll on my
  system. Is there a version of gdiplus.dll for Linux? If so where do I
  find it. Google searches have not turned this up.
 
 Make  install libgdiplus. All the P/Invoke calls to gdiplus.dll get
 resolved to libgdiplus.so.
 
 -Ravindra
 
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Linux - Mono - ByteFX - Mysql on a personal web site

2004-03-19 Thread Golo Haas
Hi there,

I would like to know if, currently, anybody is successfully using ByteFX 
with mono to build a personal web site base on asp.net/mysql under linux ?
yes, at the moment I am trying to rewrite my website from PHP to ASP 
.net using Mono under SuSE 9.0 with a MySQL 4.0.18 database ...

I have not come very far yet (due to time issues), but I am going to put 
the source code on my web site (just take a look at 
http://www.golohaas.de tomorrow, section downloads, then there will be 
some stuff).

If yes, could I get his configuration, the mono and Bytefx versions 
used, and the sources of his site in order to try to run it on my own PC.
Yes, of course, no problem.

Greetings,

Golo Haas
--
Microsoft Community Leader
http://www.golohaas.de
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Ravindra
Hello Kevin,

On Fri, 2004-03-19 at 17:22, Kevin Jones wrote:
 I've installed the libgdiplus RPM, I assume from your reply that this
 isn't enough?

Actually, I meant you do not need gdiplus.dll separately. You need this
dll, only if you are running mono on windows. On Linux, you just need
libgdiplus library as all the calls to gdiplus.dll are passed to
libgdiplus library. So, just go ahead and try it out :-)

If you are facing any problems in using it, please let us know the exact
error with the relevant details.

Hope this helps!

-Ravindra.

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Which installation for a determined distro?

2004-03-19 Thread Júlio César Ködel G.
I'm using a Linux distro called Kurumim (someone of you know it, althrou'it's
only brazilian). It's based on Knoppix distro.
I saw Mono installers for Debian, Suse, Fedora, etc. but nothing for Knoppix.
Which is the most indicated to be installed on Knoppix/Kurumin?
---
[]
Júlio César Ködel G.
Tenebree Software (http://www.tenebree.com)
Avantasia UO Shard (http://www.avantasia.com.br)
SRSP Polícia Federal ([EMAIL PROTECTED])




___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mac OS X and Windows.Forms

2004-03-19 Thread Lee Malatesta
Do I read the release notes for 0.31 correctly that Wine (and not just 
winelib) must be installed for Windows.Forms to work? If so, this would 
preclude from Windows.Forms working on Mac OS as Wine doesn't run on OS 
X, no?

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Pedro Santos
Well, I am having some troubles. I just installed mono-0.31, libgdi,
wine, etc. I am just running a simple Hello World and I got this:

bash-2.05b$ mono h.exe
 
Unhandled Exception: System.EntryPointNotFoundException:
GdipCreateFontFamilyFromName
in 0x00053 (wrapper managed-to-native)
System.Drawing.GDIPlus:GdipCreateFontFamilyFromName
(string,intptr,intptr)
in 0x0007c System.Drawing.FontFamily:.ctor
(string,System.Drawing.Text.FontCollection)
in 0x00012 System.Drawing.FontFamily:.ctor (string)
in 0x00056 (wrapper remoting-invoke-with-check)
System.Drawing.FontFamily:.ctor (string)
in 0x0005b System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool)
in 0x00028 System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle)
in 0x00083 (wrapper remoting-invoke-with-check)
System.Drawing.Font:.ctor (string,single,System.Drawing.FontStyle)
in 0x00039 System.Drawing.Font:FromHfont (intptr)
in 0x00018 System.Windows.Forms.Control:get_DefaultFont ()
in 0x00055 System.Windows.Forms.Control:get_Font ()
in 0x0002d System.Windows.Forms.Control:OnHandleCreated
(System.EventArgs)
in 0x00026 System.Windows.Forms.Form:OnHandleCreated
(System.EventArgs)
in 0x0025a System.Windows.Forms.Control:CreateHandle ()
in 0xa System.Windows.Forms.Form:CreateHandle ()
in 0x00033 System.Windows.Forms.Control:CreateControl ()
in 0x0004f (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:CreateControl ()
in 0x00015 System.Windows.Forms.Application:Run
(System.Windows.Forms.Form)
in 0x00024
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:Main
(string[])
 
Segmentation fault


On Fri, 2004-03-19 at 12:24, Ravindra wrote:
 Hello Kevin,
 
 On Fri, 2004-03-19 at 17:22, Kevin Jones wrote:
  I've installed the libgdiplus RPM, I assume from your reply that this
  isn't enough?
 
 Actually, I meant you do not need gdiplus.dll separately. You need this
 dll, only if you are running mono on windows. On Linux, you just need
 libgdiplus library as all the calls to gdiplus.dll are passed to
 libgdiplus library. So, just go ahead and try it out :-)
 
 If you are facing any problems in using it, please let us know the exact
 error with the relevant details.
 
 Hope this helps!
 
 -Ravindra.
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Pedro Santos www.psantos.net
Si minor plus est ergo nihil sunt omnia...


signature.asc
Description: This is a digitally signed message part


Re: [Mono-list] Java and C#

2004-03-19 Thread A Rafael D Teixeira
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,
-- 
Rafael Monoman Teixeira 
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Jordi Mas
En/na Pedro Santos ha escrit:
Well, I am having some troubles. I just installed mono-0.31, libgdi,
wine, etc. I am just running a simple Hello World and I got this:
Hello Pedro,

Can you make sure that you are running libgdiplus 0.2? If this is the case, 
please send me the example that you are trying to run and gives you that error.

Thanks Pedro,

Jordi,

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] XSP Implimentation Question

2004-03-19 Thread Nick Berardi
I am hoping somebody can point me to the right directory in Mono.  I am
looking for the code in Mono that compiles the Page/Control from the text.
I am most interested in the inline compile of the page.  

Also is the page parsed using RegEx or XML?

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono 0.31 has been released.

2004-03-19 Thread George Farris
Thank you for clearing that up.  It must be something in the spec files
for gtk# then?  Thanks for putting the 0.17 files back I copy these
files for a local yum repository.


At any rate 
On Thu, 2004-03-18 at 21:17, Mike Kestner wrote:
 On Thu, 2004-03-18 at 21:23, George Farris wrote:
 
  Great, nice work, however, someone goofed as the gtk-sharp packages have
  reverted back to 0.15.  Please put the gtk-sharp 0.17 packages back up
  and PLEASE remember the devel packages, we need then too.
 
 There never have been gtk-sharp-devel packages on the mono downloads
 page, to my knowledge.
 
 There are -gapi packages for the gapi code generator and parser and
 associated files, but there is no point to having a -devel package for
 Gtk#.  
 
 IIRC, somebody was shipping packages using the -devel name for their
 gapi packages, but that's a poor naming convention, since devel packages
 typically contain files needed to link/compile against a library.  The
 stuff in gapi is not needed to compile against the Gtk# assemblies. The
 only thing that would theoretically go in a -devel is the .pc file, and
 it would be pretty silly to require a separate download for that.
 
 So, wherever you got your -devel package, I don't think it was from the
 mono project.
-- 
George Farris [EMAIL PROTECTED]

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Pedro Santos
Hi Jordi:

# pkg-config --modversion libgdiplus
0.2
# pkg-config --modversion cairo
0.1.18

This is the example:
//-
namespace Microsoft.Samples.WinForms.Cs.SimpleHelloWorld {
using System;
using System.Windows.Forms;

public class SimpleHelloWorld : Form {

[STAThread]
public static int Main(string[] args) {
Application.Run(new SimpleHelloWorld());
return 0;
}

public SimpleHelloWorld() {
this.Text = Hello World;
}
}
}

And this is the complete output:
//-
$ mono h.exe
When you are running with a native NT directory specify
'Profile=profiledirectory' or disable loading of Windows
registry (LoadWindowsRegistryFiles=N)
 
Unhandled Exception: System.EntryPointNotFoundException:
GdipCreateFontFamilyFromName
in 0x00053 (wrapper managed-to-native)
System.Drawing.GDIPlus:GdipCreateFontFamilyFromName
(string,intptr,intptr)
in 0x0007c System.Drawing.FontFamily:.ctor
(string,System.Drawing.Text.FontCollection)
in 0x00012 System.Drawing.FontFamily:.ctor (string)
in 0x00056 (wrapper remoting-invoke-with-check)
System.Drawing.FontFamily:.ctor (string)
in 0x0005b System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool)
in 0x00028 System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle)
in 0x00083 (wrapper remoting-invoke-with-check)
System.Drawing.Font:.ctor (string,single,System.Drawing.FontStyle)
in 0x00039 System.Drawing.Font:FromHfont (intptr)
in 0x00018 System.Windows.Forms.Control:get_DefaultFont ()
in 0x00055 System.Windows.Forms.Control:get_Font ()
in 0x0002d System.Windows.Forms.Control:OnHandleCreated
(System.EventArgs)
in 0x00026 System.Windows.Forms.Form:OnHandleCreated
(System.EventArgs)
in 0x0025a System.Windows.Forms.Control:CreateHandle ()
in 0xa System.Windows.Forms.Form:CreateHandle ()
in 0x00033 System.Windows.Forms.Control:CreateControl ()
in 0x0004f (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:CreateControl ()
in 0x00015 System.Windows.Forms.Application:Run
(System.Windows.Forms.Form)
in 0x00024
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:Main
(string[])
 



On Fri, 2004-03-19 at 14:49, Jordi Mas wrote:
 En/na Pedro Santos ha escrit:
  Well, I am having some troubles. I just installed mono-0.31, libgdi,
  wine, etc. I am just running a simple Hello World and I got this:
  
 
 Hello Pedro,
 
 Can you make sure that you are running libgdiplus 0.2? If this is the case, 
 please send me the example that you are trying to run and gives you that error.
 
 Thanks Pedro,
 
 Jordi,
-- 
Pedro Santos www.psantos.net
Si minor plus est ergo nihil sunt omnia...


signature.asc
Description: This is a digitally signed message part


Re: [Mono-list] gdiplus

2004-03-19 Thread Miguel de Icaza
Hello,

 I'm trying to get Winforms to work on Mono under Fedora core 1. I've
 installed the mono and mono devel packages, I've also installed WINE,
 WINE-MONO, Cairo and libgdiplus. However I don't have gdiplus.dll on my
 system. Is there a version of gdiplus.dll for Linux? If so where do I
 find it. Google searches have not turned this up.

Did you install `winelib' too?   Not the old `monowine' package
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mac OS X and Windows.Forms

2004-03-19 Thread Miguel de Icaza
Hello,

 Do I read the release notes for 0.31 correctly that Wine (and not just 
 winelib) must be installed for Windows.Forms to work? If so, this would 
 preclude from Windows.Forms working on Mac OS as Wine doesn't run on OS 
 X, no?

People have ported Wine to MacOS before (a few months ago in fact),
when we have a mature implementation, I do not see why we could not
support it ourselves.

But right now the focus is on fixing all the bugs, missing features and
problems that we have today.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono 0.31 has been released.

2004-03-19 Thread Miguel de Icaza
Hello!

 Great, nice work, however, someone goofed as the gtk-sharp packages have
 reverted back to 0.15.  Please put the gtk-sharp 0.17 packages back up
 and PLEASE remember the devel packages, we need then too.

I only see 0.17 packages, and I am not sure we ever hard -devel for
gtk-sharp.

 
 Thanks.
-- 
Miguel de Icaza [EMAIL PROTECTED]
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Microsoft ASP .NET Bug

2004-03-19 Thread Pedro Santos

Hi there! I just heard of a peculiar bug in a ASP .NET validator. I
tryed to test it on mono, but it looks like mono isn't performing client
validation.

Well, to start, just create an aspx with:

form runat=server
  table
tr
  td

asp:TextBox ID=tbFirst Runat=server/asp:TextBox
asp:RangeValidator 
Runat=server
ID=rfv
Type=Integer
ControlToValidate=tbFirst
MinimumValue=0
MaximumValue=5
Display=Dynamic
ErrorMessage=This is a really long error message blah blah blah 
blah.
/asp:RangeValidator/td

/tr
tr
  tdasp:TextBox ID=tbSecond Runat=server/asp:TextBox/td
/tr
  /table
/form

Now, just follow the instructions:

Throw that in an asp.net page and run it. Resize the IE window
until it is just a little bigger than the controls. It needs to
be small enough that when the validator is tripped the text
wraps to the next line. 

Type something in the top text box that will trip the validator.
Before tripping the validator move the mouse cursor over the
upper box and slowly move it down towards the lower box. When
the cursor is about half way between the boxes it will switch
from a pointer to a text insert cursor. When it does this,
single click at that location. 

You will now be able to type in the validator label. You will
also be able to delete the validator text. Best of all, you can
even delete the text box. Yeah, baby!

I could not test it, I do not know if is a general validator bug, or an
only-in-IE bug, or whatever.

On the other hand, is it normal that Mono isn't performing client side
validation?

-- 
Pedro Santos www.psantos.net
Si minor plus est ergo nihil sunt omnia...


signature.asc
Description: This is a digitally signed message part


Re: [Mono-list] gdiplus

2004-03-19 Thread Kevin Jones
Thanks Miguel,

nope, mono-wine, where is winelib?

Kevin Jones


On Fri, 2004-03-19 at 17:04, Miguel de Icaza wrote:
 Hello,
 
  I'm trying to get Winforms to work on Mono under Fedora core 1. I've
  installed the mono and mono devel packages, I've also installed WINE,
  WINE-MONO, Cairo and libgdiplus. However I don't have gdiplus.dll on my
  system. Is there a version of gdiplus.dll for Linux? If so where do I
  find it. Google searches have not turned this up.
 
 Did you install `winelib' too?   Not the old `monowine' package
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Miguel de Icaza

 Thanks Miguel,
 
 nope, mono-wine, where is winelib?

Its listed on www.go-mono.com/download.html

It is also all spelled out on the Mono Release Notes ;-)
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Peter
Hello,

I have downloaded, compiled and installed 'wine-lib 0.1'. When I try to run 
the sample Pedro provide I get the following exception:

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type initializer for System.Windows.Forms.Control --- 
System.DllNotFoundException: user32.dll
in 0x00053 (wrapper managed-to-native) 
System.Windows.Forms.Win32:RegisterWindowMessage (string)
in 0x000f1 System.Windows.Forms.Control:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) System.Windows.Forms.Control:.ctor ()
in 0xf System.Windows.Forms.ScrollableControl:.ctor ()
in 0xa System.Windows.Forms.ContainerControl:.ctor ()
in 0x00017 System.Windows.Forms.Form:.ctor ()
in 0xa 
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:.ctor ()
in 0x0004f (wrapper remoting-invoke-with-check) 
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:.ctor ()
in 0x0001b 
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:Main 
(string[])

There seems to be a 'user32.dll' missing. I found 'user32.dll.so' in /usr/lib/
wine, so I included this folder in LD_LIBRARY_PATH, but it didn't solve the 
problem.

Any other suggestions ?

Peter


Op vrijdag 19 maart 2004 19:08, schreef Miguel de Icaza:
  Thanks Miguel,
 
  nope, mono-wine, where is winelib?

 Its listed on www.go-mono.com/download.html

 It is also all spelled out on the Mono Release Notes ;-)
 ___
 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] gdiplus

2004-03-19 Thread Miguel de Icaza
Hey,

 I have downloaded, compiled and installed 'wine-lib 0.1'. When I try to run 
 the sample Pedro provide I get the following exception:
 
 Unhandled Exception: System.TypeInitializationException: An exception was 
 thrown by the type initializer for System.Windows.Forms.Control --- 
 System.DllNotFoundException: user32.dll
 in 0x00053 (wrapper managed-to-native) 
 System.Windows.Forms.Win32:RegisterWindowMessage (string)
 in 0x000f1 System.Windows.Forms.Control:.cctor ()

You are getting closer.  All you need are the symlinks that must have
been created for you.

Make sure you have something that looks like this in your library prefix
(must be on your LD_LIBRARY_PATH):

mono$ ls -l *32.dll*so
lrwxrwxrwx1 miguel   miguel 30 Mar  3 18:43 libadvapi32.dll.so - 
/mono/lib/wine/advapi32.dll.so
lrwxrwxrwx1 miguel   miguel 30 Mar  3 18:43 libcomctl32.dll.so - 
/mono/lib/wine/comctl32.dll.so
lrwxrwxrwx1 miguel   miguel 27 Mar  3 18:43 libgdi32.dll.so - 
/mono/lib/wine/gdi32.dll.so
lrwxrwxrwx1 miguel   miguel 30 Mar  3 18:43 libkernel32.dll.so - 
/mono/lib/wine/kernel32.dll.so
lrwxrwxrwx1 miguel   miguel 28 Mar  3 18:43 libuser32.dll.so - 
/mono/lib/wine/user32.dll.so

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gdiplus

2004-03-19 Thread Joop
Looks like Ximian forgot to package the winelib rpm. I had to build that
file from winelib.tar.gz from the download page.
But even after that I could not get the thing to load. It camplained
about not able to load winelib.exe.so. Even when I put this in the
correct PATH and even when I set LD_LIBRARY_PATH to it.
After playing a little more I got it somehow to find the winelib.exe.so.
But now it complains about user32.dll (no so there!) I hope to find a
rpm for all this :-P
wkr,
Gerke
The output:

Could not load winelib.exe.so
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Windows.Forms.Control ---
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.Win32 ---
System.DllNotFoundException: winelib.exe.so
in 0x00053 (wrapper managed-to-native)
System.Windows.Forms.Win32:WineLoadLibrary (string)
in 0x002e1 System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) System.Windows.Forms.Win32:RegisterWindowMessage (string)
in 0x000f2 System.Windows.Forms.Control:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) System.Windows.Forms.Control:.ctor ()
in 0xf System.Windows.Forms.ScrollableControl:.ctor ()
in 0xa System.Windows.Forms.ContainerControl:.ctor ()
in 0x00017 System.Windows.Forms.Form:.ctor ()
in 0xa MyFormProject.MainForm:.ctor ()
in 0x0004f (wrapper remoting-invoke-with-check)
MyFormProject.MainForm:.ctor ()
in 0x0001b MyFormProject.MainForm:Main (string[])
Kevin Jones wrote:

I decided to start from a known good installation and now I'm getting an
even dumber error. I un-installed everything (mono, libicu etc and the
devel versions). I downloaded the latest RPMs from go-mono re-installed
them and mono-wine. Now when I run the winform app (it's one of the test
apps from the Wiki) I get this:
Could not load winelib.exe.so
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Windows.Forms.Control ---
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.Win32 ---
System.DllNotFoundException: winelib.exe.so
in 0x00053 (wrapper managed-to-native)
System.Windows.Forms.Win32:WineLoadLibrary (string)
in 0x002e1 System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---
The only reference I can find is this

http://lists.ximian.com/archives/public/mono-patches/2004-March/032174.html

and indeed winelib.exe.so is not in /usr/lib/wine (or anywhere else).

What have I done wrong?

Thanks,

Kevin Jones

___
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] gdiplus

2004-03-19 Thread Kevin Jones
Ok,

so after doing 

export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

and running the sample I now get

Could not stat /nt (No such file or directory), ignoring drive E:
Could not stat /home/kevinj/.wine/${HOME} (No such file or directory),
ignoring drive F:
Warning: could not find wine config [Drive x] entry for current working
directory /home/kevinj/temp/winforms; starting in windows directory.
Warning: L/usr/local/lib/winelib.exe.so not accessible from a
configured DOS drive
Warning: L/usr/local/lib/winelib.exe.so not accessible from a
configured DOS drive
wine: cannot find '/usr/local/lib/winelib.exe.so'


winelib.exe.so is in /usr/local/lib and is globally readable and
executable.

Sorry if I'm being stupid,

Kevin


On Fri, 2004-03-19 at 18:35, Miguel de Icaza wrote:
 Hey,
 
  I have downloaded, compiled and installed 'wine-lib 0.1'. When I try to run 
  the sample Pedro provide I get the following exception:
  
  Unhandled Exception: System.TypeInitializationException: An exception was 
  thrown by the type initializer for System.Windows.Forms.Control --- 
  System.DllNotFoundException: user32.dll
  in 0x00053 (wrapper managed-to-native) 
  System.Windows.Forms.Win32:RegisterWindowMessage (string)
  in 0x000f1 System.Windows.Forms.Control:.cctor ()
 
 You are getting closer.  All you need are the symlinks that must have
 been created for you.
 
 Make sure you have something that looks like this in your library prefix
 (must be on your LD_LIBRARY_PATH):
 
 mono$ ls -l *32.dll*so
 lrwxrwxrwx1 miguel   miguel 30 Mar  3 18:43 libadvapi32.dll.so - 
 /mono/lib/wine/advapi32.dll.so
 lrwxrwxrwx1 miguel   miguel 30 Mar  3 18:43 libcomctl32.dll.so - 
 /mono/lib/wine/comctl32.dll.so
 lrwxrwxrwx1 miguel   miguel 27 Mar  3 18:43 libgdi32.dll.so - 
 /mono/lib/wine/gdi32.dll.so
 lrwxrwxrwx1 miguel   miguel 30 Mar  3 18:43 libkernel32.dll.so - 
 /mono/lib/wine/kernel32.dll.so
 lrwxrwxrwx1 miguel   miguel 28 Mar  3 18:43 libuser32.dll.so - 
 /mono/lib/wine/user32.dll.so
 
 ___
 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] gdiplus

2004-03-19 Thread Kevin Jones
s'ok I've found it.

Sorry for the noise,

Kevin


On Fri, 2004-03-19 at 17:37, Kevin Jones wrote:
 Thanks Miguel,
 
 nope, mono-wine, where is winelib?
 
 Kevin Jones
 
 
 On Fri, 2004-03-19 at 17:04, Miguel de Icaza wrote:
  Hello,
  
   I'm trying to get Winforms to work on Mono under Fedora core 1. I've
   installed the mono and mono devel packages, I've also installed WINE,
   WINE-MONO, Cairo and libgdiplus. However I don't have gdiplus.dll on my
   system. Is there a version of gdiplus.dll for Linux? If so where do I
   find it. Google searches have not turned this up.
  
  Did you install `winelib' too?   Not the old `monowine' package
  
 
 ___
 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] gdiplus

2004-03-19 Thread Peter
Miguel,

I didn't find the links, I have made them manually. Where were they supposed 
to be ? In /usr/lib ? 

After making the symbolic links, the 'hello world' runs.

Thank you for the info

Peter

Op vrijdag 19 maart 2004 19:35, schreef u:
 Hey,

  I have downloaded, compiled and installed 'wine-lib 0.1'. When I try to
  run the sample Pedro provide I get the following exception:
 
  Unhandled Exception: System.TypeInitializationException: An exception was
  thrown by the type initializer for System.Windows.Forms.Control ---
  System.DllNotFoundException: user32.dll
  in 0x00053 (wrapper managed-to-native)
  System.Windows.Forms.Win32:RegisterWindowMessage (string)
  in 0x000f1 System.Windows.Forms.Control:.cctor ()

 You are getting closer.  All you need are the symlinks that must have
 been created for you.

 Make sure you have something that looks like this in your library prefix
 (must be on your LD_LIBRARY_PATH):

 mono$ ls -l *32.dll*so
 lrwxrwxrwx1 miguel   miguel 30 Mar  3 18:43 libadvapi32.dll.so
 - /mono/lib/wine/advapi32.dll.so lrwxrwxrwx1 miguel   miguel
 30 Mar  3 18:43 libcomctl32.dll.so - /mono/lib/wine/comctl32.dll.so
 lrwxrwxrwx1 miguel   miguel 27 Mar  3 18:43 libgdi32.dll.so -
 /mono/lib/wine/gdi32.dll.so lrwxrwxrwx1 miguel   miguel 30 Mar 
 3 18:43 libkernel32.dll.so - /mono/lib/wine/kernel32.dll.so lrwxrwxrwx   
 1 miguel   miguel 28 Mar  3 18:43 libuser32.dll.so -
 /mono/lib/wine/user32.dll.so

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Java and C#

2004-03-19 Thread Leandro André Zis






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,
  





[Mono-list] Re: Npgsql doesn't work anymore

2004-03-19 Thread Francisco Figueiredo Jr.
 --- Jaroslaw Kowalski [EMAIL PROTECTED] escreveu: 
 
 I'm using Fedora Core 1 with postgresql-server-7.3.4-11 installed from RPM
 and Npgsql (from Mono/CVS) doesn't work for me (while it used to work
 properly about one month ago).
 
 I get System.NullReferenceException : Object reference not set to an
 instance of an object when connecting. The problem seems to occur in
 NpgsqlConnection.ProcessServerVersion().
 


 
  if (BackendProtocolVersion == ProtocolVersion.Version2)
  {
 
 
 and it prints _serverVersion is null. It obviously fails on
 _serverVersion.IndexOf() right after that.
 
 My ConnectionString is:
 
 'Server=fw.home.lan;Initial Catalog=SoodaUnitTests;User
 Id=mono;Password=mono'
 
 I can provide more debug info but I don't know what exactly is needed here.
 Any ideas?


Hi Jaroslaw.

I'm checking that.
In my nunit tests here I'm not getting this problem.
We had this problem some time ago, but we already fixed it. But may there is
some case which is still getting problems.

In the Open method, near its end, and before the call to ProcessServerVersion
there is a line:

ServerVersion = Connector.ServerVersion;

Could you check what is the value of ServerVersion when this code executes?

Also, a little bit above, is where we set the Connector.ServerVersion. Could
you also check what value is being set?

Thanks in advance.

Regards,

Francisco Figueiredo Jr.







__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Npgsql doesn't work anymore

2004-03-19 Thread Jaroslaw Kowalski
I've made some tests. My new diff is attached (I've added two WriteLine's,
one of them never was never executed).

The output is:


ZZZ ServerVersion:  False
_serverVersion is null
-

Hope it helps.

BTW. I've tried to add MaxPoolSize=0 to the CS but it just caused the
connection to hang.

Jarek

- Original Message - 
From: Francisco Figueiredo Jr. [EMAIL PROTECTED]
To: Jaroslaw Kowalski [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, March 19, 2004 9:35 PM
Subject: [Mono-list] Re: Npgsql doesn't work anymore


 --- Jaroslaw Kowalski [EMAIL PROTECTED] escreveu:
 
  I'm using Fedora Core 1 with postgresql-server-7.3.4-11 installed from
RPM
  and Npgsql (from Mono/CVS) doesn't work for me (while it used to work
  properly about one month ago).
 
  I get System.NullReferenceException : Object reference not set to an
  instance of an object when connecting. The problem seems to occur in
  NpgsqlConnection.ProcessServerVersion().
 


 
   if (BackendProtocolVersion == ProtocolVersion.Version2)
   {
 
 
  and it prints _serverVersion is null. It obviously fails on
  _serverVersion.IndexOf() right after that.
 
  My ConnectionString is:
 
  'Server=fw.home.lan;Initial Catalog=SoodaUnitTests;User
  Id=mono;Password=mono'
 
  I can provide more debug info but I don't know what exactly is needed
here.
  Any ideas?


 Hi Jaroslaw.

 I'm checking that.
 In my nunit tests here I'm not getting this problem.
 We had this problem some time ago, but we already fixed it. But may there
is
 some case which is still getting problems.

 In the Open method, near its end, and before the call to
ProcessServerVersion
 there is a line:

 ServerVersion = Connector.ServerVersion;

 Could you check what is the value of ServerVersion when this code
executes?

 Also, a little bit above, is where we set the Connector.ServerVersion.
Could
 you also check what value is being set?

 Thanks in advance.

 Regards,

 Francisco Figueiredo Jr.







 __

 Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
 http://br.yahoo.com/info/mail.html
 ___
 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] SWF Winelib QA

2004-03-19 Thread Peter Dennis Bartok
Hi All,

I figured since there are quite a few questions regarding winelib that 
I'd write a little blurb on how things are connected. I tried to start 
it in FAQ form to allow later inclusion into the FAQ.
Let me know if it helps, if you have additional questions or if you 
notice something wrong/missing.

1. What dependencies does System.Windows.Forms (SWF) have?
2. When running a SWF application I get the 
System.DllNotFoundException:winelib.exe.so exception. What's wrong?
3. How can I verify that I've got winelib installed correctly?
4. When trying to run a SWF application I get the 
System.DllNotFoundException:user32.dll exception. What's wrong?
5. When running a SWF application I don't get the usual nice exception 
with stack and everything. What happened?
6. How does winelib work?
7. Why do I have to do those links from wine to the lib directory?

1. What dependencies does System.Windows.Forms (SWF) have?
The following is the dependency tree:
- System.Windows.Forms
   - Winelib
  - Wine
   - System.Drawing
  - gdiplus
 - cairo
- pixman
- freetype
- Xrender
Unless you have *all* of these libraries working on your system, SWF 
will not operate (and in most cases even initialize).

2. When running a SWF application I get the 
System.DllNotFoundException:winelib.exe.so exception. What's wrong?
Several possible causes:
- The winelib package is not installed
- Winelib is installed but wine is not
- winelib.exe.so is not in prefix/lib

3. How can I verify that I've got winelib installed correctly?
Winelib will be installed into the prefix/lib directory. prefix was 
chosen when the install packages was created. If you want to have 
winelib in another directory than the default where it was installed to, 
you must get the source packages and configure  compile it for a 
different path.

4. When trying to run a SWF application I get the 
System.DllNotFoundException:user32.dll exception. What's wrong?

In order for SWF and winelib to operate properly you need to have 
symbolic links for the wine dlls in the prefix/lib directory. While 
the rpm should install those automatically as part of the postinstall 
script you can also manually create those with the following command:

cd prefix/lib
for i in wine_dll_dir/*dll.so; do ln -s $i lib`basename $i`; done
prefix is the base directory where mono is installed under (ie. /usr 
or /usr/local) and wine_dll_dir is the directory where the wine dlls 
(user32.dll.so, gdi32.dll.so, etc) can be found (ie. /usr/lib/wine or 
/usr/local/lib/wine)

5. When running a SWF application I don't get the usual nice exception 
with stack and everything. What happened?
This is a known issue, when initializing wine the mono exception handler 
is replaced with the wine exception handler. This will be fixed shortly.

6. How does winelib work?

Winelib performs the same wine initialization as the command-line 'wine' 
application. As 'argument' it uses itself, effectively telling wine to 
rune winelib.exe.so. Before initializing, wine does a setjmp and when 
wine calls the winelib.exe.so WinMain function we perform a longjmp
back to right after the wine initialization code was called. This 
results in wine being initialized and control being back at the routine 
that got called from SWF.

7. Why do I have to do those links from wine to the lib directory?

Currently mono is not using the LD_LIBRARY_PATH to find libraries, and 
also, mono has a particular naming format it expects libraries to have, 
all libraries have to start with 'lib', and the wine dlls don't conform. 
The symbolic links remedy this issue.





___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Wine-mono

2004-03-19 Thread Peter Dennis Bartok
Hi All,

Those of you using Red Carpet to install or update mono should remove 
the mono-wine packages off your system, if you have them installed. We 
forgot to remove the mono-wine packages from the mono channel, and 
there's the potential of overwriting 'good/new' wine with 'bad/old' 
wine. The mono-wine stuff should no longer be available on the mono 
channel now.

I apologize for the confusion.

Cheers,
  Peter
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SWF Winelib QA

2004-03-19 Thread Peter Dennis Bartok
Search your disk for libgdiplus.so and make sure you don't have 
duplicates. The libgdiplus that is being loaded by mono does not contain 
a particular function which usually points to an older library being 
used, despite the newer one also being installed.

If you have 'locate' on your system try 'locate libgdiplus' and post the 
results. That'll show us if you've got various versions of it installed.

Peter

Pedro Santos wrote:
Hey! What about my question? :P Can someone help me? I have installed
everything again and still I ave the same problem compiling a simple SWF
application:
bash-2.05b$ mono h.exe

When you are running with a native NT directory specify
'Profile=profiledirectory' or disable loading of Windows
registry (LoadWindowsRegistryFiles=N)
 
Unhandled Exception: System.EntryPointNotFoundException:
GdipCreateFontFamilyFromName
in 0x00053 (wrapper managed-to-native)
System.Drawing.GDIPlus:GdipCreateFontFamilyFromName
(string,intptr,intptr)
in 0x0007c System.Drawing.FontFamily:.ctor
(string,System.Drawing.Text.FontCollection)
in 0x00012 System.Drawing.FontFamily:.ctor (string)
in 0x00056 (wrapper remoting-invoke-with-check)
System.Drawing.FontFamily:.ctor (string)
in 0x0005b System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool)
in 0x00028 System.Drawing.Font:.ctor
(string,single,System.Drawing.FontStyle)
in 0x00083 (wrapper remoting-invoke-with-check)
System.Drawing.Font:.ctor (string,single,System.Drawing.FontStyle)
in 0x00039 System.Drawing.Font:FromHfont (intptr)
in 0x00018 System.Windows.Forms.Control:get_DefaultFont ()
in 0x00055 System.Windows.Forms.Control:get_Font ()
in 0x0002d System.Windows.Forms.Control:OnHandleCreated
(System.EventArgs)
in 0x00026 System.Windows.Forms.Form:OnHandleCreated
(System.EventArgs)
in 0x0025a System.Windows.Forms.Control:CreateHandle ()
in 0xa System.Windows.Forms.Form:CreateHandle ()
in 0x00033 System.Windows.Forms.Control:CreateControl ()
in 0x0004f (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:CreateControl ()
in 0x00015 System.Windows.Forms.Application:Run
(System.Windows.Forms.Form)
in 0x00024
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:Main
(string[])

On Fri, 2004-03-19 at 21:02, Peter Dennis Bartok wrote:

Hi All,

I figured since there are quite a few questions regarding winelib that 
I'd write a little blurb on how things are connected. I tried to start 
it in FAQ form to allow later inclusion into the FAQ.
Let me know if it helps, if you have additional questions or if you 
notice something wrong/missing.

1. What dependencies does System.Windows.Forms (SWF) have?
2. When running a SWF application I get the 
System.DllNotFoundException:winelib.exe.so exception. What's wrong?
3. How can I verify that I've got winelib installed correctly?
4. When trying to run a SWF application I get the 
System.DllNotFoundException:user32.dll exception. What's wrong?
5. When running a SWF application I don't get the usual nice exception 
with stack and everything. What happened?
6. How does winelib work?
7. Why do I have to do those links from wine to the lib directory?

1. What dependencies does System.Windows.Forms (SWF) have?
The following is the dependency tree:
- System.Windows.Forms
   - Winelib
  - Wine
   - System.Drawing
  - gdiplus
 - cairo
- pixman
- freetype
- Xrender
Unless you have *all* of these libraries working on your system, SWF 
will not operate (and in most cases even initialize).

2. When running a SWF application I get the 
System.DllNotFoundException:winelib.exe.so exception. What's wrong?
Several possible causes:
- The winelib package is not installed
- Winelib is installed but wine is not
- winelib.exe.so is not in prefix/lib

3. How can I verify that I've got winelib installed correctly?
Winelib will be installed into the prefix/lib directory. prefix was 
chosen when the install packages was created. If you want to have 
winelib in another directory than the default where it was installed to, 
you must get the source packages and configure  compile it for a 
different path.

4. When trying to run a SWF application I get the 
System.DllNotFoundException:user32.dll exception. What's wrong?

In order for SWF and winelib to operate properly you need to have 
symbolic links for the wine dlls in the prefix/lib directory. While 
the rpm should install those automatically as part of the postinstall 
script you can also manually create those with the following command:

cd prefix/lib
for i in wine_dll_dir/*dll.so; do ln -s $i lib`basename $i`; done
prefix is the base directory where mono is installed under (ie. /usr 
or /usr/local) and wine_dll_dir is the directory where the wine dlls 
(user32.dll.so, gdi32.dll.so, etc) can be found (ie. /usr/lib/wine or 
/usr/local/lib/wine)

5. When running a SWF application I don't get the usual nice exception 
with stack and everything. What happened?
This is a 

Re: [Mono-list] SWF Winelib QA

2004-03-19 Thread Kevin Jones
Peter thanks for this.

After following the steps I still have the same problem. I get

Could not load winelib.exe.so
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Windows.Forms.Control ---
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.Win32 ---
System.DllNotFoundException: winelib.exe.so
in 0x00053 (wrapper managed-to-native)
System.Windows.Forms.Win32:WineLoadLibrary (string)
in 0x002e1 System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---
 
in (unmanaged) System.Windows.Forms.Win32:RegisterWindowMessage (string)
in 0x000f2 System.Windows.Forms.Control:.cctor ()
--- End of inner exception stack trace ---
 
in (unmanaged) System.Windows.Forms.Control:.ctor ()
in 0xf System.Windows.Forms.ScrollableControl:.ctor ()
in 0xa System.Windows.Forms.ContainerControl:.ctor ()
in 0x00017 System.Windows.Forms.Form:.ctor ()
in 0xa MyFormProject.MainForm:.ctor ()
in 0x0004f (wrapper remoting-invoke-with-check)
MyFormProject.MainForm:.ctor ()
in 0x0001b MyFormProject.MainForm:Main (string[])


if winelib.exe.so is not in /usr/lib

If I copy it to that directory I get:

Could not stat /nt (No such file or directory), ignoring drive E:
Could not stat /home/kevinj/.wine/${HOME} (No such file or directory),
ignoring drive F:
Warning: could not find wine config [Drive x] entry for current working
directory /home/kevinj/temp/winforms; starting in windows directory.
Warning: L/usr/local/lib/winelib.exe.so not accessible from a
configured DOS drive
Warning: L/usr/local/lib/winelib.exe.so not accessible from a
configured DOS drive
wine: cannot find '/usr/local/lib/winelib.exe.so'

and yes it is in /usr/local/lib.

Any help would be appreciated.

THanks,



On Fri, 2004-03-19 at 21:02, Peter Dennis Bartok wrote:
 Hi All,
 
 I figured since there are quite a few questions regarding winelib that 
 I'd write a little blurb on how things are connected. I tried to start 
 it in FAQ form to allow later inclusion into the FAQ.
 Let me know if it helps, if you have additional questions or if you 
 notice something wrong/missing.
 
 1. What dependencies does System.Windows.Forms (SWF) have?
 2. When running a SWF application I get the 
 System.DllNotFoundException:winelib.exe.so exception. What's wrong?
 3. How can I verify that I've got winelib installed correctly?
 4. When trying to run a SWF application I get the 
 System.DllNotFoundException:user32.dll exception. What's wrong?
 5. When running a SWF application I don't get the usual nice exception 
 with stack and everything. What happened?
 6. How does winelib work?
 7. Why do I have to do those links from wine to the lib directory?
 
 
 1. What dependencies does System.Windows.Forms (SWF) have?
 The following is the dependency tree:
 - System.Windows.Forms
 - Winelib
- Wine
 - System.Drawing
- gdiplus
   - cairo
  - pixman
  - freetype
  - Xrender
 
 Unless you have *all* of these libraries working on your system, SWF 
 will not operate (and in most cases even initialize).
 
 
 2. When running a SWF application I get the 
 System.DllNotFoundException:winelib.exe.so exception. What's wrong?
 Several possible causes:
 - The winelib package is not installed
 - Winelib is installed but wine is not
 - winelib.exe.so is not in prefix/lib
 
 
 3. How can I verify that I've got winelib installed correctly?
 Winelib will be installed into the prefix/lib directory. prefix was 
 chosen when the install packages was created. If you want to have 
 winelib in another directory than the default where it was installed to, 
 you must get the source packages and configure  compile it for a 
 different path.
 
 
 4. When trying to run a SWF application I get the 
 System.DllNotFoundException:user32.dll exception. What's wrong?
 
 In order for SWF and winelib to operate properly you need to have 
 symbolic links for the wine dlls in the prefix/lib directory. While 
 the rpm should install those automatically as part of the postinstall 
 script you can also manually create those with the following command:
 
 cd prefix/lib
 for i in wine_dll_dir/*dll.so; do ln -s $i lib`basename $i`; done
 
 prefix is the base directory where mono is installed under (ie. /usr 
 or /usr/local) and wine_dll_dir is the directory where the wine dlls 
 (user32.dll.so, gdi32.dll.so, etc) can be found (ie. /usr/lib/wine or 
 /usr/local/lib/wine)
 
 5. When running a SWF application I don't get the usual nice exception 
 with stack and everything. What happened?
 This is a known issue, when initializing wine the mono exception handler 
 is replaced with the wine exception handler. This will be fixed shortly.
 
 
 6. How does winelib work?
 
 Winelib performs the same wine initialization as the command-line 'wine' 
 application. As 'argument' it uses itself, effectively telling wine to 
 rune 

[Mono-list] Web Site

2004-03-19 Thread Tracy Barlow
I now have a website up www.tracyannesoftware.net (it's my Resume) using 
ASP.NET under Mono (0.29). Its running on a Mandrake 9.2 Linux SMP 
server (Dual Processor Pentium III 500Mhz CPUs).

During Load testing I noted two things, mod-mono-server crashed under 
moderately heavy load,  20 concurrent connections, and moderatlely 
heavy loads seem to cause socket errors.

One problem with the load testing application (Microsoft Application 
Center Test) is that it does not seem to represent real world conditions 
(at least where my site is concerned) as it can only call one page (in 
this case)

--

Regards

Tracy Barlow

Phone:  07 4124 5092
Mobile: 0146 00 38 61
mail:   [EMAIL PROTECTED]
Website:www.tracyannesoftware.com
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Web Site

2004-03-19 Thread Gonzalo Paniagua Javier
El vie, 19-03-2004 a las 19:40, Tracy Barlow escribió:
 I now have a website up www.tracyannesoftware.net (it's my Resume) using 
 ASP.NET under Mono (0.29). Its running on a Mandrake 9.2 Linux SMP 
 server (Dual Processor Pentium III 500Mhz CPUs).
 
 During Load testing I noted two things, mod-mono-server crashed under 
 moderately heavy load,  20 concurrent connections, and moderatlely 
 heavy loads seem to cause socket errors.
 
 One problem with the load testing application (Microsoft Application 
 Center Test) is that it does not seem to represent real world conditions 
 (at least where my site is concerned) as it can only call one page (in 
 this case)
 

Hi Tracy!

First of all, thank you for trying mono/mod_mono! :)

The most recent released versions are: mono 0.31, mod_mono 0.7 and
mod-mono-server 0.9. These will, hopefully, fix some of those issues. If
they don't, please tell us about any problem and provide stack traces,
test cases or any information that can help us to improve mod_mono
performance.

Thanks!

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list