Re: [Mono-list] wxNET with Mono
iirc the installation docs say to use 2.5.1 .. (which is the latest dev release). Paulo - controlm wrote: i'm intending to use wxNET under MS .NET, and so try use it under Mono. Someone could please tell what version of wxWidgets i have to download to make wxNET work with Mono ? my OS is a Mandrake 9 Linux. -- Michael J. Ryan - tracker1(at)theroughnecks(dot)com - www.theroughnecks.net icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email) ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] wxNET with Mono
> For wxWidgets, version 2.5.1 (wx-gtk-contrib-devel-2.5.1-1.i386.rpm > and wx-gtk2-unicode-contrib-devel-2.5.1-1.i386.rpm from the wxWidgets > download page) is required. Instructions for building wxWidgets > yourself are in Bin/README.txt of the wx.NET package. Correction, the first file should be: wx-gtk2-unicode-devel-2.5.1-1.i386.rpm I've updated the wx.NET site with more detailed instructions on installation. -- Bryan Bulten http://www.bulten.ca/ http://wxnet.sourceforge.net/ pgp0.pgp Description: PGP signature
Re: [Mono-list] wxNET with Mono
> i'm intending to use wxNET under MS .NET, and so try use it under > Mono. > > Someone could please tell what version of wxWidgets i have to download > to make wxNET work with Mono ? > > my OS is a Mandrake 9 Linux. You will need wx.NET-0.4-linux.tar.gz from the wx.NET downloads page (unless you intend to compile it yourself). For wxWidgets, version 2.5.1 (wx-gtk-contrib-devel-2.5.1-1.i386.rpm and wx-gtk2-unicode-contrib-devel-2.5.1-1.i386.rpm from the wxWidgets download page) is required. Instructions for building wxWidgets yourself are in Bin/README.txt of the wx.NET package. Cheers. -- Bryan Bulten http://www.bulten.ca/ http://wxnet.sourceforge.net/ pgp0.pgp Description: PGP signature
Re: [Mono-list] TcpChannel import problem
You need to include the assembly reference at compile time: % mcs file.cs -r:System.Runtime.Remoting.dll ... All of the Remoting namespace stuff is in the System.Runtime.Remoting assembly. The compiler rightly complains because you did not specify where to find it to the compiler. Tom Larsen On Tue, 9 Mar 2004 [EMAIL PROTECTED] wrote: > I can successfully import System.Runtime.Remoting.Channels namespace, but I > can't seem to get at the TcpChannel class 'using > System.Runtime.Remoting.Channels.Tcp;'. The error I receive from mcs is: > > Daemon.cs(15) error CS0246: The namespace > `System.Runtime.Remoting.Channels.Tcp' can not be found (missing assembly > reference?) > > I am running the .30.1 release; I imagine this may have to do with the mono > library organization, or some lib I may not be importing. > > Thanks, > > Julian > ___ > 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] TcpChannel import problem
I can successfully import System.Runtime.Remoting.Channels namespace, but I can't seem to get at the TcpChannel class 'using System.Runtime.Remoting.Channels.Tcp;'. The error I receive from mcs is: Daemon.cs(15) error CS0246: The namespace `System.Runtime.Remoting.Channels.Tcp' can not be found (missing assembly reference?) I am running the .30.1 release; I imagine this may have to do with the mono library organization, or some lib I may not be importing. Thanks, Julian ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] install
hi i running suse 9.0 and want to install mono my questions 1. what files i must download 2. how to install -- with rpm -- or easyer 3. how to rest if it works thx martin ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Run mono apps w/o mono (changed subject from "[Mono-list] Platform comparison")
Would it make sense that somebody would implement that script of Brice into the install/make methods of mono so that the compiled .exe files run by simple calling? --> Miguel, maybe only you can say when this should be done? Regards Jochen -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Brice Carpentier Gesendet: Dienstag, 9. März 2004 12:26 An: mono-list Betreff: Re: AW: [Mono-list] Platform comparison Jochen Wezel wrote: >Hi Brice! > >Please could you tell us some details on binft_misc? Where to get it? How to >use/include it? A short and quicky example, maybe? Or a documentation somewhere? > > Sure ! In fact it's binfmt_misc it's a kernel module that the most recent distributions should have included in their base kernel. http://www.tat.physik.uni-tuebingen.de/~rguenth/linux/binfmt_misc.html Once it's loaded, there's a few manipulations to register a binary with the module, I've attached the rc.d script that my distribution (archlinux - http://www.archlinux.org) uses. >Thanks! >Jochen > > Best regards, -- Brice Carpentier aka Br|ce ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Help - what's wrong?
El mar, 09-03-2004 a las 08:34, Kiyeon escribió: > Hi, all > I'm trying to use pgsql with xsp. > Here is a error message. > > = > Server Error in '/' Application > > > Compilation Error > Description: Error compiling a resource required to service this > request. Review your source file and modify it to fix this error. > > Error message: /home/yeon/www/write.cs(6,0) : error CS0246: The > namespace `Mono.Data.PostgreSqlClient' can not be found (missing > assembly reference?) (0,0) : error failed: 1 error(s), 0 warnings You should use the '@ Assembly' directive. -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] wxNET with Mono
Hi All ! i'm intending to use wxNET under MS .NET, and so try use it under Mono. Someone could please tell what version of wxWidgets i have to download to make wxNET work with Mono ? my OS is a Mandrake 9 Linux. thanks Paulo R. QuicoliAnalista Programador Jr.Control-M Informática
Re: [Mono-list] Compilation error in System.Security.Cryptography.Xml (CVS)
Yes, and already fixed in cvs. Atsushi Eno Richard Torkar wrote: > This is probably for Atsushi? > > System.Security.Cryptography.Xml/KeyInfoX509Data.cs(204) error CS0029: > Cannot co nvert implicitly from `byte[]' to `System.Xml.XmlElement' > System.Security.Cryptography.Xml/XmlDsigXsltTransform.cs(99) warning > CS0618: Met hod > `System.Xml.Xsl.XslTransform.Load(System.Xml.XPath.IXPathNavigable)' is > obso lete: `You should pass evidence.' > System.Security.Cryptography.Xml/XmlDsigXsltTransform.cs(102) warning > CS0618: Me thod > `System.Xml.Xsl.XslTransform.Load(System.Xml.XPath.IXPathNavigable)' is > obs olete: `You should pass evidence.' > System.Security.Cryptography.Xml/XmlDsigXsltTransform.cs(111) warning > CS0618: Me thod > `System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, > Sy stem.Xml.Xsl.XsltArgumentList, System.IO.Stream)' is obsolete: `You > should pass XmlResolver to Transform() method' > Compilation failed: 1 error(s), 3 warnings > make[2]: *** [../../class/lib/System.Security.dll] Error 1 > > > /Richard ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Compilation error in System.Security.Cryptography.Xml (CVS)
This is probably for Atsushi? System.Security.Cryptography.Xml/KeyInfoX509Data.cs(204) error CS0029: Cannot co nvert implicitly from `byte[]' to `System.Xml.XmlElement' System.Security.Cryptography.Xml/XmlDsigXsltTransform.cs(99) warning CS0618: Met hod `System.Xml.Xsl.XslTransform.Load(System.Xml.XPath.IXPathNavigable)' is obso lete: `You should pass evidence.' System.Security.Cryptography.Xml/XmlDsigXsltTransform.cs(102) warning CS0618: Me thod `System.Xml.Xsl.XslTransform.Load(System.Xml.XPath.IXPathNavigable)' is obs olete: `You should pass evidence.' System.Security.Cryptography.Xml/XmlDsigXsltTransform.cs(111) warning CS0618: Me thod `System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, Sy stem.Xml.Xsl.XsltArgumentList, System.IO.Stream)' is obsolete: `You should pass XmlResolver to Transform() method' Compilation failed: 1 error(s), 3 warnings make[2]: *** [../../class/lib/System.Security.dll] Error 1 /Richard signature.asc Description: This is a digitally signed message part
Re: [Mono-list] Doubt in Reflection.Emit
ldarg.0 is the implict `this' pointer for any instance method. Take a look at the code mcs generates for something like class T { void Foo () { Bar (); } void Bar () {} static void Main () { new T ().Foo (); } } >>> mono devel <[EMAIL PROTECTED]> 03/09/04 09:40 AM >>> hello, I have doubt in Reflection.Emit.Opcodes. I have noticed that before setting a variable , or calling a function Opcodes.ldarg_0 is always emitted. I want to know if ldarg_0 contains a reference to current object(something like "this" pointer) :: The example i came accross is as follows ( i have marked the lines which do this ):: FieldBuilder xField = pointTypeBld.DefineField("x", typeof(int), FieldAttributes.Public); FieldBuilder yField = pointTypeBld.DefineField("y", typeof(int), FieldAttributes.Public); Type objType = Type.GetType("System.Object"); ConstructorInfo objCtor = objType.GetConstructor(new Type[0]); ConstructorBuilder pointCtor = pointTypeBld.DefineConstructor( MethodAttributes.Public, CallingConventions.Standard, ctorParams); ILGenerator ctorIL = pointCtor.GetILGenerator(); // First, you build the constructor. ctorIL.Emit(OpCodes.Ldarg_0);//<--Here ctorIL.Emit(OpCodes.Call, objCtor);//objCtor is the constructor of System.Object; ctorIL.Emit(OpCodes.Ldarg_0);//<--Here### ctorIL.Emit(OpCodes.Ldarg_1); ctorIL.Emit(OpCodes.Stfld, xField); ctorIL.Emit(OpCodes.Ldarg_0);//<--Here# ctorIL.Emit(OpCodes.Ldarg_2); ctorIL.Emit(OpCodes.Stfld, yField); ctorIL.Emit(OpCodes.Ret); // can someone please rectify this doubt. thanks, vineeth = vineeth N __ Do you Yahoo!? Yahoo! Search - Find what you're looking for faster http://search.yahoo.com ___ 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] Doubt in Reflection.Emit
hello, I have doubt in Reflection.Emit.Opcodes. I have noticed that before setting a variable , or calling a function Opcodes.ldarg_0 is always emitted. I want to know if ldarg_0 contains a reference to current object(something like "this" pointer) :: The example i came accross is as follows ( i have marked the lines which do this ):: FieldBuilder xField = pointTypeBld.DefineField("x", typeof(int), FieldAttributes.Public); FieldBuilder yField = pointTypeBld.DefineField("y", typeof(int), FieldAttributes.Public); Type objType = Type.GetType("System.Object"); ConstructorInfo objCtor = objType.GetConstructor(new Type[0]); ConstructorBuilder pointCtor = pointTypeBld.DefineConstructor( MethodAttributes.Public, CallingConventions.Standard, ctorParams); ILGenerator ctorIL = pointCtor.GetILGenerator(); // First, you build the constructor. ctorIL.Emit(OpCodes.Ldarg_0);//<--Here ctorIL.Emit(OpCodes.Call, objCtor);//objCtor is the constructor of System.Object; ctorIL.Emit(OpCodes.Ldarg_0);//<--Here### ctorIL.Emit(OpCodes.Ldarg_1); ctorIL.Emit(OpCodes.Stfld, xField); ctorIL.Emit(OpCodes.Ldarg_0);//<--Here# ctorIL.Emit(OpCodes.Ldarg_2); ctorIL.Emit(OpCodes.Stfld, yField); ctorIL.Emit(OpCodes.Ret); // can someone please rectify this doubt. thanks, vineeth = vineeth N __ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] MonoDev Bug Report crashes when ......
monodev 1.0 Add a existing file into a project and if the file already exists in the project directory (i.e. from an earlier project, i.e. starting again), monodev crashes as it has issue with creating a file that already exists. Not a bug but ... in monodev, it will index theclass-completion DB on first run. How do i get it to index some existing classes that i wrote? In other words, how do i force a reindex, and what criterion does it use to determine the scope of what/where it indexes? -tl ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Help - what's wrong?
Hi, all I'm trying to use pgsql with xsp. Here is a error message. = Server Error in '/' Application Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: /home/yeon/www/write.cs(6,0) : error CS0246: The namespace `Mono.Data.PostgreSqlClient' can not be found (missing assembly reference?) (0,0) : error failed: 1 error(s), 0 warnings File name: /home/yeon/www/write.cs Line 1: namespace Board { Line 2: Line 3: using System; Line 4: using System.Collections; Line 5: using System.Data; Line 6: using Mono.Data.PostgreSqlClient;Line 7: using System.Web; Line 8: using System.Web.UI; Line 9: Line 10: public class Write : System.Web.UI.Page { Line 11: Line 12:private string connectionString = Line 13:"Server=localhost;" + Line 14:"Database=board;" + Line 15:"User ID=yeon;" + Line 16:"Password=a"; Line 17: Line 18:private void Page_Load (object sender, System.EventArgs e) Line 19:{ Line 20:IDbConnection dbcon; Line 21:dbcon = new PgConnecton (connectionString); Line 22:dbcon.Open (); Line 23:dbcon.Close (); Line 24:dbcon = null; Line 25:} Line 26: } Line 27: Line 28: } //namespace == But 'Mono.Data.PostgreSqlClient.dll' is in /usr/lib. What's wrong? help please.. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: AW: [Mono-list] Platform comparison
Jochen Wezel wrote: Hi Brice! Please could you tell us some details on binft_misc? Where to get it? How to use/include it? A short and quicky example, maybe? Or a documentation somewhere? Sure ! In fact it's binfmt_misc it's a kernel module that the most recent distributions should have included in their base kernel. http://www.tat.physik.uni-tuebingen.de/~rguenth/linux/binfmt_misc.html Once it's loaded, there's a few manipulations to register a binary with the module, I've attached the rc.d script that my distribution (archlinux - http://www.archlinux.org) uses. Thanks! Jochen Best regards, -- Brice Carpentier aka Br|ce #!/bin/bash . /etc/rc.conf . /etc/rc.d/functions case "$1" in start) stat_busy "Registering .NET IL binaries with mono" if [ ! -d /proc/sys/fs/binfmt_misc ]; then stat_die "You need support for \"misc binaries\" in your kernel!" fi mount | grep -q binfmt_misc if [ $? != 0 ]; then mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc if [ $? != 0 ]; then stat_die fi fi echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register stat_done ;; stop) stat_busy "Unregistering .NET IL binaries" if [ -f /proc/sys/fs/binfmt_misc/CLR ]; then echo '-1' > /proc/sys/fs/binfmt_misc/CLR fi stat_done ;; restart) $0 stop $0 start ;; *) echo "usage: $0 {start|stop|restart}" esac
Re: [Mono-list] Web Services and DataSet
Can you please file a bug report in bugzila.ximian.com for this? Thanks! Lluis. On dc, 2004-03-03 at 01:26, Alessandro Galassi wrote: > Hi, > I write a web Service with mono 0.29 and mon_mono 0.6 that return > a DataSet via a Odbc connection from MySQL and work fine. > > Now I wont comsume the service and I write this test: > - > 1 : using System; > 2 : using System.Data; > 3 : public class DataSetTest > 4 : { > 5 :static void Main(string[] args) > 6 :{ > 7 : DataSet ds = new DataSet(); > 8 : AuslWebServices ws = new AuslWebServices(); > 9 : ds.Merge(ws.AuslDataSet("select * from generale")); > 10: ds.WriteXml("generale.xml"); > 11:} > 12: } > -- > I compile it with: > > $ wsdl AuslWebServices.wsdl > WSDL proxy generator v0.1 > Fetching AuslWebServices.wsdl > Writing file 'AuslWebServices.cs' > $ mcs -t:library AuslWebServices.cs > Compilation succeeded > $ mcs -r:AuslWebServices.dll -r:System.Data DataSetTest.cs > > DataSetTest.cs(9) error CS1502: The best overloaded match for method > 'void System.Data.DataSet.Merge (System.Data.DataRow[])' has some > invalid arguments > DataSetTest.cs(9) error CS1503: Argument 0: Cannot convert from 'object' > to 'System.Data.DataRow[]' > DataSetTest.cs(9) error CS1501: No overload for method `Merge' takes `1' > arguments > DataSetTest.cs(9) error CS8006: Could not find any applicable function > for this argument list > Compilation failed: 4 error(s), 0 warnings > > > So in the AuslWebService.cs the return value of .AuslDataSet() is > 'object' not DataSet: > > > [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AuslDataSet",RequestNamespace="http://tempuri.org/",ResponseNamespace="http://tempuri.org/",ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,Use=System.Web.Services.Description.SoapBindingUse.Literal)] > public virtual object AuslDataSet(string query) { > System.Object[] results = this.Invoke("AuslDataSet", new > object[] { > query}); > return ((object)(results[0])); > } > > public virtual System.IAsyncResult BeginAuslDataSet(string query, > System.AsyncCallback callback, object asyncState) { > return this.BeginInvoke("AuslDataSet", new object[] { > query}, callback, asyncState); > } > > public virtual object EndAuslDataSet(System.IAsyncResult > asyncResult) { > System.Object[] results = this.EndInvoke(asyncResult); > return ((object)(results[0])); > } > > > if I cast (DataSet) in line 9 the source compile but at runtime; > > $ mono DataSetTest.exe > > Unhandled Exception: System.InvalidCastException: Cannot cast from > source type to destination type > in <0x00084> .DataSetTest:Main (string[]) > > Please help me! > Alessandro > > > ___ > 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