Re: [Mono-dev] Compiling Mono Runtime in VS2010

2010-06-28 Thread Robert Jordan
Hi Guy, On 28.06.2010 13:07, guysherman wrote: Thanks so much for your help and patience, I have now got my code working. I found that mono_free was missing from the mono.def file that i had (I guess I should probably rebuild it), so I added the line. Now my code compiles and links and runs.

Re: [Mono-list] API to determine mono version

2010-06-21 Thread Robert Jordan
On 21.06.2010 11:03, Andrus wrote: How to show mono version in application Help / About box ? Which API call should be used to find it in web service ? http://lists.ximian.com/pipermail/mono-list/2005-June/027348.html Robert ___ Mono-list maillist

Re: [Mono-list] retrieve http error code

2010-06-20 Thread Robert Jordan
On 20.06.2010 21:00, LordPhoenix wrote: Hi all, I'm trying to find the way to extract http error code from a WebException. Does someone know I could do… Look at the example of WebException.Response: http://msdn.microsoft.com/en-us/library/system.net.webexception.response.aspx Robert

Re: [Mono-dev] Trying to run teste.exe

2010-06-19 Thread Robert Jordan
On 19.06.2010 13:04, guysherman wrote: Hi Zoltan, Thanks very much for that, that seems to have fixed it. I get a new error now, though. The error is the following: Corlib too old for this runtime. Loaded from: C:\Program Files (x86)\Mono-2.6.4\lib\mono\2.0\mscorlib.dll When I execute

Re: [Mono-list] How to Start Concatenated Processes by Using System.Diagnostics.Process?

2010-06-18 Thread Robert Jordan
On 18.06.2010 11:13, Jacek Rużyczka wrote: Am Donnerstag 17 Juni 2010 16:25:04 schrieb Robert Jordan: This. Or pass the commands to a shell process (untested): ProcessStartInfo info = new ProcessStartInfo(); info.UseShellExecute = false; info.FileName = /bin/bash; info.Arguments = -c

Re: [Mono-list] Marshalling union crashes

2010-06-18 Thread Robert Jordan
On 18.06.2010 13:27, Jef Driesen wrote: This seems to work fine with MS .NET, but crashes under mono with the error: Which Mono version and architecture? Robert ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] Marshalling union crashes

2010-06-18 Thread Robert Jordan
On 18.06.2010 16:14, Jef Driesen wrote: On 18/06/10 15:27, Robert Jordan wrote: On 18.06.2010 13:27, Jef Driesen wrote: This seems to work fine with MS .NET, but crashes under mono with the error: Which Mono version and architecture? $ mono --version Mono JIT compiler version 2.4.4 (Debian

Re: [Mono-list] Marshalling union crashes

2010-06-18 Thread Robert Jordan
On 18.06.2010 16:55, Robert Jordan wrote: On 18.06.2010 16:14, Jef Driesen wrote: On 18/06/10 15:27, Robert Jordan wrote: On 18.06.2010 13:27, Jef Driesen wrote: This seems to work fine with MS .NET, but crashes under mono with the error: Which Mono version and architecture? $ mono

Re: [Mono-dev] MonoCharge on Windows

2010-06-17 Thread Robert Jordan
On 17.06.2010 12:01, SuperCiccio wrote: I know that it is risky, but it is not for production use: I have to try some of the latest implementations or make some modifications to code by myself. In particular, I am interested to System.ServiceModel. 1) open a Mono command line 2) change dir

Re: [Mono-dev] HttpWebRequest.DefaultMaximumErrorResponseLength property

2010-06-17 Thread Robert Jordan
On 17.06.2010 13:11, Jim Evans wrote: I posted this question on mono-list, with no responses. I'm going to try this No answer means that there is no solution for your problem. I could test to see if I am running under Mono, but are there any other alternatives here? No other alternative

Re: [Mono-dev] Arm9 NS9215 floating point troubles

2010-06-17 Thread Robert Jordan
On 17.06.2010 18:07, Trevor Ackerman wrote: I have been able to cross-compile Mono 2.6.4 for the NS9215 (no fpu afaik) and I'm having trouble with floats when executing code. ... My CFLAGS and CPPFLAGS environment variables are both -DARM_FPU_NONE=1 -DMONO_ARCH_SOFT_FLOAT=1

Re: [Mono-aspnet-list] Mono for Windows

2010-06-16 Thread Robert Jordan
On 16.06.2010 20:48, dhav79 wrote: When you said start :xsp --port 8080 --address 127.0.0.1 --applications /app:dir how do i go about starting it like this? command line? httpd file? Command line. XSP is Mono's standalone web server which can proxied by Apache's mod_proxy and the config I've

Re: [Mono-dev] MonoCharge on Windows

2010-06-16 Thread Robert Jordan
On 16.06.2010 15:24, SuperCiccio wrote: Update: I tried to upgrade manually copying files, but without luck. Which Mono version do you want to update? Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] MonoCharge on Windows

2010-06-16 Thread Robert Jordan
On 16.06.2010 15:41, SuperCiccio wrote: Latest (2.6.4) to Daily Packages (http://mono.ximian.com/daily) You're not supposed to update a stable Mono from daily packages because there are interdependencies between the runtime and the class libraries that are not resolved by those dailies. It's

Re: [Mono-dev] Create a 'MonoImage' from a byte array. (corrected)

2010-06-16 Thread Robert Jordan
On 16.06.2010 17:49, Thiago Padilha wrote: I'm trying to create a MonoImage/MonoAssembly from a byte array like this : //body omited, this is a simple function that return contents of a binary file and returns the file size in bytes as an out parameter static char *read_file_contents(char

Re: [Mono-dev] Installing pre-load hooks on windows(bug?)

2010-06-16 Thread Robert Jordan
On 17.06.2010 01:13, Thiago Padilha wrote: I use a callback function to control assembly loading with this code : All works correctly, except that when I run this program on Windows(I have tested on both Seven and XP) get the following 'extra' output TRYING TO LOAD ASSEMBLY : I18N

Re: [Mono-aspnet-list] Mono for Windows

2010-06-15 Thread Robert Jordan
On 15.06.2010 14:37, dhav79 wrote: Hello, Im completely new to mono. I really need some step by step procedures in installing mono on a windows platform using Apache 2.x web server. So far, 1) Apache is Installed and running 2) Mono is Installed Now, I read that I'll need mod_mono.so

Re: [Mono-list] Mono or .NET?

2010-06-15 Thread Robert Jordan
On 15.06.2010 16:08, Stifu wrote: Hello, Something like this: ///summary /// Checks whether the framework used is Mono. summary ///returnsTrue (using Mono) or false (not using Mono)./returns public static bool IsMono() { return Type.GetType(System.MonoType, false) != null;

Re: [Mono-list] PathTooLongException workaround for mono?

2010-06-15 Thread Robert Jordan
On 15.06.2010 20:23, David S wrote: Thats cool and everything, but I want to be able to go past the C# limit on path size. So while that was informative, it doesn't really answer my The limit is imposed by Mono's io-layer and it's not configurable. If you need more than 260 chars that you could

Re: [Mono-dev] Setting the assembly location(complete)

2010-06-14 Thread Robert Jordan
On 14.06.2010 20:46, Thiago Padilha wrote: This was working fine, some some days ago I made a modification and when I tried to run the following message appears : The assembly mscorlib.dll was not found or could not be loaded. It should have been installed in the

Re: [Mono-list] pinvoke to clutter function

2010-06-14 Thread Robert Jordan
On 14.06.2010 13:37, Daniel Hughes wrote: I'm trying to pinvoke to a clutter function. The function is defined in the docs as ClutterActor * clutter_texture_new_from_file (const gchar *filename, GError **error); The code I have is as follows: [DllImport (libclutter-glx-1.0.so.0)] private

Re: [Mono-aspnet-list] Unable to bind port 80 without sudo

2010-06-12 Thread Robert Jordan
On 12.06.2010 11:40, Alexander M. Batishchev wrote: Everything works fine. Why can it be? It's by design of *nix. Ports beyond 1024 are reserved for the root user. Robert ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com

Re: [Mono-aspnet-list] Mono trunk, Membership provider, System.Environment.internalGetHome()

2010-06-11 Thread Robert Jordan
See https://bugzilla.novell.com/show_bug.cgi?id=609632 You can work around this issue by configuring with --with-glib=system. Or assure that the HOME env variable is properly set in the Apache process. Robert On 11.06.2010 16:43, Nathan Bridgewater wrote: Hello All, I installed a snapshot

Re: [Mono-dev] Mono Crash on writing row in database with mono.data.sqlite

2010-06-11 Thread Robert Jordan
On 11.06.2010 11:48, Easy_Rider wrote: I have the same error again on a Debian Lenny installation. I downloaded the source code and installed to /usr . This time I have definitely only one libsqlite3.so! And the name column is there. But nevertheless I get this error code: And the error

Re: [Mono-dev] Mono Crash on writing row in database with mono.data.sqlite

2010-06-11 Thread Robert Jordan
. Robert Regards Hans http://jhmgbl.users.sourceforge.net/ -Ursprungliche Nachricht- Von: Robert Jordan [via Software] [mailto:ml-node+5167168-1645128073-197...@n2.nabble.com] Gesendet: Freitag, 11. Juni 2010 11:59 An: Easy_Rider Betreff: Re: Mono Crash

Re: [Mono-list] Off Topic: NAnt on Linux error CS0234

2010-06-10 Thread Robert Jordan
On 10.06.2010 08:41, niklas.alb...@main-it.de wrote: Hi all, I posted this on the NAnt maling list a week ago. But sadly I got no response... Maybe this problem is known by a user on this list: You're missing references to System.Data.dll and System.Web.Services.dll, but I have no idea how

Re: [Mono-dev] SGen improved and looking for testers

2010-06-09 Thread Robert Jordan
On 09.06.2010 12:39, Roman Procopie wrote: I am using 2.6.4 tarball. Can anyone help ? You must build from trunk. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Embedding Mono

2010-06-09 Thread Robert Jordan
On 09.06.2010 23:14, Thiago Padilha wrote: Hi Jonathan, I'm also working with an embedded mono application, do you know if I can have full control on the assembly loader for mono? So far I only found a way to specify the probing directory, but what I really need is to instrument

Re: [Mono-list] Very Strange Error Message: Failed to register the IMContext

2010-06-08 Thread Robert Jordan
On 08.06.2010 19:22, Jacek Rużyczka wrote: Hi folks, after some enormous success with my .net remoting-based app, I encounter a rather strange error message: Unknown message: ed 326 Another command is pending... Failed to register the IMContext These are not Mono related. This happens

Re: [Mono-list] how to register a c++ class to c#?

2010-06-07 Thread Robert Jordan
On 07.06.2010 17:17, Christopher David Howie wrote: Note that I'm not terribly familiar with libmono, so I won't be able to provide the calls required to emit this class and to obtain and call the constructor. (Were it 100% C# I would...) Perhaps someone else can chime in with that info.

Re: [Mono-dev] System.Configuration not implemented problem

2010-06-06 Thread Robert Jordan
On 06.06.2010 16:50, Paul wrote: Hi, I'm trying to get the code at http://msdn.microsoft.com/en-us/library/system.configuration.appsettingssection.aspx to compile and run under Mono 2.6.4. While it compiles fine, it fails to run with a NotImplemented error. Is there a way around this

Re: [Mono-aspnet-list] Socket error sending secured mail.

2010-06-04 Thread Robert Jordan
On 04.06.2010 12:36, APS wrote: Ok, gmail is only for testing and need to use another server that I omitted to be more international, the real server is sendm.cert.legalmail.it, how can I understand if it use the same new type of certificate? With the old system.security and new certificate I

Re: [Mono-aspnet-list] Socket error sending secured mail.

2010-06-04 Thread Robert Jordan
On 04.06.2010 14:43, APS wrote: So we are back at the beginning. How can I debug traffic to see which connection to which ip and port is made? This was solely your choice. No one is using System.Web.Mail nowadays, but if you feel like wanting to use code that was last modified at 2007-12-13, go

Re: [Mono-dev] Customizing Mono for a specific app

2010-06-04 Thread Robert Jordan
On 04.06.2010 16:12, Thiago Padilha wrote: Hi I want to distribute a portable ASP.NET application with its own managed web server - aspNETserve, however this server only seems to work when its assemblies are installed in the GAC, otherwise the ' ApplicationManager.CreateObject' throws

Re: [Mono-list] Problems with mkbundle and generating a single executable file

2010-06-04 Thread Robert Jordan
On 04.06.2010 09:54, Extreme Developer wrote: By deleting gcc-4 and just using gcc-3, I got a huge number of errors and when I don’t do that I get only one error as : The -mno-cygwin flag has been removed; use a mingw-targeted cross-compilerAnd by using /usr/bin/set-gcc-default-3.sh as

Re: [Mono-list] SSL Certificate Store

2010-06-02 Thread Robert Jordan
On 01.06.2010 20:20, Abe Gillespie wrote: Well, I grepped around the source and found the path for the user is /usr-dir/.config/.mono (thanks, Sebastien for cluing me into man mono). Unfortunately blowing this away and redoing mozroots and certmgr doesn't seem to be working on my CentOS

Re: [Mono-list] SSL Certificate Store

2010-06-02 Thread Robert Jordan
On 02.06.2010 11:01, Robert Jordan wrote: ... whereas 2.4 is not unable to send with no exception thrown. Correction: is unable to send :) Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono

Re: [Mono-list] Serializable object with Non-Serializable Fields -- SerializationException

2010-06-02 Thread Robert Jordan
Hey, On 02.06.2010 13:51, Jacek Rużyczka wrote: Hi folks, for my .NET remoting app, I am developing a class, which is gonna fetch some data from an RDBMS (by using DataSet objects) and make a report out of it. Of course, the class needs to be serializable, so it carries the [Serializable]

Re: [Mono-list] Error during Apache/Mono shutdown

2010-06-02 Thread Robert Jordan
On 02.06.2010 15:28, Gnanam wrote: Hi, Our production environment is running Mono v1.2.4 on CentOS release 5.2 (Final). ... 1. Can somebody let me know the root cause of this exception? 2. How do I handle this in future? No one will be able to tell you what's wrong with a 3 years old

Re: [Mono-list] Serializable object with Non-Serializable Fields -- SerializationException

2010-06-02 Thread Robert Jordan
Hey, On 02.06.2010 15:23, Jacek Rużyczka wrote: Am Mittwoch 02 Juni 2010 14:46:07 schrieb Robert Jordan: Where are you setting this property? How is DBConnectionHandler implemented. This is the DBConnectionHandler: It's neither [Serializable] nor MarshalByRefObject: ///summary

Re: [Mono-list] Process killed after accruing 1000 minutes of cpu time

2010-06-02 Thread Robert Jordan
On 02.06.2010 20:08, Oriol wrote: Hi, I have a regular mono process (not a daemon) that I have set up to start with the system boot, runs as root and does stuff in the background. The problem I see, and have verified during several months is that once the process accrues 1000 minutes of cpu

Re: [Mono-list] Where is the mdb.exe?

2010-05-29 Thread Robert Jordan
On 29.05.2010 23:56, Taka2010 wrote: Hi all, I'm looking for mdb.exe to debug on Windows Vista. I opend Mono-2.6.4 Command Prompt and then type mdb.exe foobar.exe, but mdb was not be executed. I searched mdb.exe under C:\Program Files\Mono-2.6.4\, but I cannot find it. Where is the

[Mono-dev] Status of the Windows build (with patches)

2010-05-28 Thread Robert Jordan
=== --- ChangeLog (revision 158032) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2010-05-28 Robert Jordan robe...@gmx.net + + * configure.in: Fix mcs_topdir* for the Windows build. + 2010-05-20 Miguel de Icaza mig...@novell.com * configure.in: drop again the pkg.m4 dependency

Re: [Mono-dev] Status of the Windows build (with patches)

2010-05-28 Thread Robert Jordan
On 28.05.2010 16:01, Robert Jordan wrote: The second issue is a SIGSEGV during the full mscorlib compilation (also reported by Atsushi). It seems to be caused by the basic bootstrap corlib, but I did not debug it in the hope that one of the Reflection.Emit gods is able to pinpoint the issue

Re: [Mono-dev] Bug with System.Environment.InternalGetFolderPath found using MVC 2 on Mono SVN

2010-05-28 Thread Robert Jordan
On 28.05.2010 20:44, sberryman wrote: Any chance someone can take a look at a bug I submitted? I have a feeling it would be a quick fix, and actually surprised it hasn't come up as it is part of the System.Environment class. https://bugzilla.novell.com/show_bug.cgi?id=609632 Since you're

Re: [Mono-dev] Bug with System.Environment.InternalGetFolderPath found using MVC 2 on Mono SVN

2010-05-28 Thread Robert Jordan
On 28.05.2010 21:59, sberryman wrote: Looks like embedded: Engine: GC:included GLIB: embedded Yep, that's the default nowadays. There is a workaround in this case: ensure that the user under which your MVC site is running has a valid home entry in

Re: [Mono-dev] Bug with System.Environment.InternalGetFolderPath found using MVC 2 on Mono SVN

2010-05-28 Thread Robert Jordan
On 28.05.2010 22:50, sberryman wrote: I'm not that familar with linux so I tried making a few changes to the passwd file without any luck. Here is what is in there for the apache user (www-data): www-data:x:33:33:www-data:/var/www:/bin/sh * i've tried changing the owner of /var/www to

Re: [Mono-dev] Bug with System.Environment.InternalGetFolderPath found using MVC 2 on Mono SVN

2010-05-28 Thread Robert Jordan
On 29.05.2010 00:46, sberryman wrote: $ mcs test.cs $ mono test.exe Try this: HOME=foo mono test.exe The output should not be foo. Also ensure that you're calling the correct mono, if you have parallel installations. SVN users usually have. Robert

Re: [Mono-dev] Bug with System.Environment.InternalGetFolderPath found using MVC 2 on Mono SVN

2010-05-28 Thread Robert Jordan
On 29.05.2010 01:24, sberryman wrote: $ export HOME=foo $ mono /home/www-data/test.exe foo Okay, this basically means that GetFolderPath(), respectively EGlib's g_get_home_dir(), is not able to read /etc/passwd on your system. If you want a fast solution for this issue you should consider

Re: [Mono-dev] Compiler bug in foreach

2010-05-28 Thread Robert Jordan
On 29.05.2010 01:44, Mehrdad Reshadi wrote: I found the following bug, wondering if others have seen this, or anything is being done to solve it. foreach is too common to have such a bug! public static void Main(string[] args) { var o = new Y();

Re: [Mono-list] assembly loaded at runtime and object instance creation

2010-05-28 Thread Robert Jordan
On 28.05.2010 11:36, LordPhoenix wrote: namespace test{ public class Plugin{ ... public Loader(){ Assembly ass = Assembly.LoadFrom(plugin.dll); Console.WriteLine(ass.FullName); System.Object obj = ass.CreateInstance(Plugin,false); The

Re: [Mono-aspnet-list] Problem with mod_mono/xsp/runtime on CentOS 5.4 / 5.5

2010-05-26 Thread Robert Jordan
On 26.05.2010 09:29, Trust wrote: Hi *. since mono 2.0 I've had the problem with mono. I always could make the work around to switch back to mono 2.2 and than my web sites worked. Yesterday I upgraded one Server to CentOs 5.5 since then i got the following error: 0 Parameter name:

Re: [Mono-aspnet-list] Problem with mod_mono/xsp/runtime on CentOS 5.4 / 5.5

2010-05-26 Thread Robert Jordan
On 26.05.2010 14:00, Trust wrote: Hi Robert, thanks for your anwser! I really appriciate! What do you mean with touch ? Type `man touch' into a Unix terminal. Robert ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com

Re: [Mono-aspnet-list] Problem with mod_mono/xsp/runtime on CentOS 5.4 / 5.5

2010-05-26 Thread Robert Jordan
On 26.05.2010 17:16, Trust wrote: Hi, I did touch on every Assembly I got, and now i got only the second error, but the Apps still don't work. I can't explain for myself. The stack trace is pretty clear: The assembly from which a script resources is requested has an invalid LastWriteTime. I

Re: [Mono-list] Permissions of files created by a webservice

2010-05-26 Thread Robert Jordan
On 26.05.2010 13:44, Mathias Tausig wrote: Am 26.05.2010 12:18, schrieb Mathias Tausig: I would need to alter these permissions, but I am afraid I don't have a clue, where to look at. I am not even sure, if that't really a mono problem or an apache setting. I dug a bit deeper in the

Re: [Mono-list] Permissions of files created by a webservice

2010-05-26 Thread Robert Jordan
On 26.05.2010 14:53, Mathias Tausig wrote: Am 26.05.2010 13:49, schrieb Robert Jordan: On 26.05.2010 13:44, Mathias Tausig wrote: Am 26.05.2010 12:18, schrieb Mathias Tausig: I would need to alter these permissions, but I am afraid I don't have a clue, where to look at. I am not even sure

Re: [Mono-dev] openSUSE upgrade to 2.6+

2010-05-25 Thread Robert Jordan
On 25.05.2010 14:16, Greg Robinson wrote: I get a 'Couldn't resolve host 'ftp.novel.com' when I try: Try 'ftp.novell.com'. zypper refresh --repo mono-stable Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] Cannot compile monodebugger with mono from svn trunk

2010-05-24 Thread Robert Jordan
On 24.05.2010 20:56, xplicit wrote: I tried to compile monodebugger with mono from trunk and could not. I use mono parallel environment and I run ./autogen.sh --prefix=/opt/mono and configure failed, with error: *** Your Mono is too old for this version of the debugger. I investigated this

Re: [Mono-dev] Cannot compile monodebugger with mono from svn trunk

2010-05-24 Thread Robert Jordan
On 24.05.2010 21:07, Robert Jordan wrote: On 24.05.2010 20:56, xplicit wrote: I tried to compile monodebugger with mono from trunk and could not. I use mono parallel environment and I run ./autogen.sh --prefix=/opt/mono and configure failed, with error: *** Your Mono is too old

Re: [Mono-dev] Cannot compile monodebugger with mono from svn trunk

2010-05-24 Thread Robert Jordan
after Mono.GetOptions was removed from Mono trunk. Instead of waiting for someone to fix this, install/copy Mono.GetOptions.dll from Mono 2.6 into your /opt/mono/ prefix. Don't forget to gacutil -i it as well. Robert Sergey Zhukov Robert Jordan wrote: On 24.05.2010 21:07, Robert Jordan

Re: [Mono-list] Building Mono on Windows

2010-05-24 Thread Robert Jordan
On 24.05.2010 20:13, Giles Thomas wrote: Hi all, I'm trying to build Mono on Windows, and have hit a problem which I'm struggling to work my way around -- I'd be grateful for any help. The bad news first: the Windows build is broken at present. Comments inline. Here's the error message:

Re: [Mono-dev] I Found a bug...

2010-05-23 Thread Robert Jordan
On 23.05.2010 17:48, adamitai wrote: Hi, I found a bug in mono FileStream. I posted the bug in here https://bugzilla.novell.com/show_bug.cgi?id=603378. Do you know how long should it take till someone take a look at this? The SafeFileHandle issue is already tracked here:

Re: [Mono-dev] I Found a bug...

2010-05-23 Thread Robert Jordan
Hi, On 23.05.2010 19:10, adamitai wrote: Hi, Thank you for the response, i would like to add that i have included a patch in my bug report. The patch does not seem to match any current Mono version. Robert Adam On Sun, May 23, 2010 at 9:54 AM, Robert Jordan [via Mono] ml-node+2227938

Re: [Mono-dev] ilasm as a library

2010-05-16 Thread Robert Jordan
On 16.05.2010 15:22, Miguel Garcia wrote: Hi, I wanted to see how gmcs generates assemblies, given that I want to do the same for the Scala.Net compiler [1] (which as of now generates .il files). It is using System.Reflection.Emit, which means that there is no intermediate IL source code

Re: [Mono-dev] ilasm as a library

2010-05-16 Thread Robert Jordan
Miguel, On 16.05.2010 17:12, Miguel Garcia wrote: Given that Microsoft's ilasm can only be invoked as a command-line tool, it would be great if Mono ilasm would sport a homepage showing off this capability (I for one would find a code example or two very useful). It doesn't support in-memory

Re: [Mono-dev] ilasm as a library

2010-05-16 Thread Robert Jordan
On 16.05.2010 17:48, Robert Jordan wrote: About JayC, I made some more browsing and found this http://code.google.com/p/jayc/ , which I guess is the version gmcs uses, right? (otherwise, the correct URL would be welcome). http://anonsvn.mono-project.com/viewvc/trunk/mcs/jay/ What I forgot

Re: [Mono-list] Trouble Installing

2010-05-16 Thread Robert Jordan
On 16.05.2010 12:32, rhe43863 wrote: Sorry to bump but can anyone help? Yeah, bumping on a mailing list w/out any context does definitely help. Install the glib2 dev package provided by your distro and configure again. Robert ___ Mono-list maillist

Re: [Mono-list] Newbie question on basic configuration

2010-05-13 Thread Robert Jordan
On 13.05.2010 17:32, Rogers Hellman wrote: I'm still struggling with this. You'll be struggling like forever with this. Mod_mono is not supported under Windows. The version you've probably obtained from here http://anmar.eu.org/mono/mod_mono/ is too old for a current Mono. Robert My apache

Re: [Mono-list] Newbie question on basic configuration

2010-05-13 Thread Robert Jordan
On 13.05.2010 18:19, Rogers Hellman wrote: Robert: Your point might well be valid, but.. the version I'm using was obtained at a different site: http://www.go-mono.com/mono-downloads/download.html Since Novell does not provide mod_mono (the Apache module) for Windows I wonder which version

Re: [Mono-list] Marshal.SizeOf on Char Type Variations Between Platforms

2010-05-11 Thread Robert Jordan
On 11.05.2010 17:42, Brian Kesecker wrote: If the following evaluated (VB code): System.Runtime.InteropServices.Marshal.SizeOf(GetType(Char)) A test application returns 1 running under Windows (specifically 32-bit 7 Pro) and 2 running under Linux (specifically openSuSE 11.2 Mono 2.6.4).

Re: [Mono-list] Has Anyone Read UDP Data with Mono?

2010-05-09 Thread Robert Jordan
On 09.05.2010 17:58, Steve Ricketts wrote: Alan, majorly lost on your UDP receiver example. It doesn't look anything like what I was trying... which is probably a good thing given my approach hasn't worked at all. I don't get where the ISearcher or UpnpSearcher are defined. Sorry, but I'm

Re: [Mono-list] Has Anyone Read UDP Data with Mono?

2010-05-09 Thread Robert Jordan
On 09.05.2010 19:35, Steve Ricketts wrote: Robert, thanks so much for trying to help me out. I'm feeling like an idiot here. I tried your sample and it's still not reading the data... just hanging on the sock.ReceiveFrom statement. I am including my entire program. I hard coded the

Re: [Mono-dev] Multi-threading problem in mono

2010-05-07 Thread Robert Jordan
On 08.05.2010 01:04, Maximino Aldana wrote: In summary, the three threads running in parallel and with many cores working simultaneously, run about 1.6 times SLOWER than the three threads running sequentially with only one core working at a time. How can this be possible? This seems to be

Re: [Mono-list] Opening /dev/null using FileStream

2010-05-07 Thread Robert Jordan
On 07.05.2010 17:24, muhr wrote: Hello Alan Alan McGovern wrote: Could you not just use Stream.Null? The point is that the string is not fixed to /dev/null in the real application. It could also name a regular file. It's just that if I'm not interested in this information, I would like

Re: [Mono-dev] Mono sandbox is not verifying on load

2010-05-05 Thread Robert Jordan
On 04.05.2010 18:48, Pete Forman wrote: I would like to verify all byte code when it is loaded into embedded Mono. Verification has been turned on using mono_security_enable_core_clr() but that is only performing verification when the code is executed. My test cases are based on some working

Re: [Mono-list] Unhandled Exception. Monodevelop will now close

2010-05-02 Thread Robert Jordan
On 02.05.2010 17:40, Rafa-2 wrote: How can I tell MonoDevelop to forget about the stupid path-information related to the baduser ? mv ~/.config/MonoDevelop ~/.config/MonoDevelop.old Robert ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] Security exception when I'm trying to con nect to a google Account…

2010-05-02 Thread Robert Jordan
On 02.05.2010 18:30, LordPhoenix wrote: Hi all, I'm trying to connect to a google account but I'm getting security exception. http://www.mono-project.com/FAQ:_Security#Does_SSL_works_for_SMTP.2C_like_GMail_.3F Robert ___ Mono-list maillist -

Re: [Mono-list] Security exception when I'm trying to connect to a google Account…

2010-05-02 Thread Robert Jordan
On 02.05.2010 18:33, Robert Jordan wrote: On 02.05.2010 18:30, LordPhoenix wrote: Hi all, I'm trying to connect to a google account but I'm getting security exception. http://www.mono-project.com/FAQ:_Security#Does_SSL_works_for_SMTP.2C_like_GMail_.3F Since you don't want GMail, you may

Re: [Mono-list] Unhandled Exception. Monodevelop will now close

2010-05-02 Thread Robert Jordan
On 02.05.2010 18:34, Rafa-2 wrote: Hi Robert, now it works...Quiet simple... When I was searching for the 10Second-file (see first posting) I hoped to find a similar information. Now I'd like to understand why I couldn`t find this config-file by searching for used-files during the

Re: [Mono-dev] Simple floating maths problem

2010-04-30 Thread Robert Jordan
On 30.04.2010 00:21, Stuart Fraser wrote: Mono results: 0.95864 * 5 = 47931 0.89374 * 5 = 44686 0.89092 * 5 = 44545 0.89716 * 5 = 44857 0.4191 * 5 = 20954 0.79782 * 5 = 39890 .Net results : 0.95864 * 5 = 47932 0.89374 * 5 = 44687 0.89092 * 5 = 44546

Re: [Mono-list] [newbie] Fresh windows installation does not include mono assemblies in the GAC

2010-04-28 Thread Robert Jordan
On 28.04.2010 23:02, RaulTk wrote: Then i tried to devel a simple sqlite CRUD GTK# application, but when I type using Mono. MD cannot suggest any assembly. I edit references just to discover (with great surprise) that mono does not include its own assemblies in a default fresh ms windows

Re: [Mono-list] Problem with mono WCF (compatibility with .NET ??)

2010-04-28 Thread Robert Jordan
On 28.04.2010 23:47, Jspoon wrote: Jspoon wrote: Yes it is. But I don't know If I successfully compiling mono from trunk.) I trying it... Compilation failed (5 times).. always on eglib compilation. I don't know what is wrong. May after one or more week I will try it again - with new

Re: [Mono-list] cannot find metadata file MySql.Data.dll

2010-04-24 Thread Robert Jordan
On 24.04.2010 15:31, Andreas Färber wrote: Although mcs' predates the name Mono, so it originally stood for Miguel's C Sharp Which still is odd, given it's not a language but a compiler. Did mcsc seem too long at the time? ;) Well, it saved us a myriad of typos at cost of a few frustrated

Re: [Mono-list] fail to compite *.exe

2010-04-23 Thread Robert Jordan
On 23.04.2010 13:24, Stephen Liu wrote: $ mcs -pkg:gtk-sharp-2.0 helloword.cs -debug helloword.cs(27,5): error CS8025: Parsing error You want gmcs. Compilation failed: 1 error(s), 0 warnings Robert ___ Mono-list maillist -

Re: [Mono-list] Exception with DllMap on Windows

2010-04-23 Thread Robert Jordan
On 23.04.2010 15:20, Dimitar Dobrev wrote: Hi. I am trying to use DllMap on Windows. I specified adllmap / element underconfiguration / in MyApp.exe.config but the .NET Framework 2.0 throws a ConfigurationErrorsException: Configuration system failed to initialize- Unrecognized configuration

Re: [Mono-aspnet-list] System.Web.Extensions

2010-04-22 Thread Robert Jordan
On 22.04.2010 19:57, Dirk Roeleveld wrote: So what does this tell us? Should I be referencing it by putting in -r:$prefix/lib/mono/2.0/System.Web.Extensions.dll in the command line for gmcs? Or does gmcs pay attention to web.config and I should be mentioning System.Web.Extensions.dll inside of

Re: [Mono-dev] Develop for iPad on the iPad

2010-04-22 Thread Robert Jordan
On 22.04.2010 16:34, buhochile...@gmail.com wrote: Sure, let hope that all this end up successfully for MT, adobe, unity, etc (I really hate ObjC)..but my point is that until we know a definitely answer from Apple, the future of MT is at least uncertain, and is good to take some responsibility

Re: [Mono-list] No Package mono-2 found

2010-04-21 Thread Robert Jordan
On 21.04.2010 18:15, Dan Winslow wrote: Trying to compile heap-shot. Environment is fedora, mono built from tarballs. autogen.sh said : checking for PROFILER... configure: error: Package requirements (mono-2 glib-2.0) were not met: No package 'mono-2' found It seems that heap-shot is

Re: [Mono-winforms-list] Can't get form controls to show

2010-04-17 Thread Robert Jordan
On 17.04.2010 16:36, Steve Ricketts wrote: But that doesn't work either. What am I doing wrong? Just in case you're still wondering why you didn't get responses so far: *No one* will try to reproduce your issues w/out a self-contained test case provided by yourself. For a start, this is test

Re: [Mono-list] WCF/JSON POST get error 415, expected content-type application/xml not application/json

2010-04-17 Thread Robert Jordan
protected override void InitializeRuntime() { ServiceEndpoint endpoint = this.AddServiceEndpoint(iServiceInterfaceType, new WebHttpBinding(), String.Empty); endpoint.Behaviors.Add(new WebHttpBehavior()); You may want to add

Re: [Mono-list] Event raised from Plugin class loaded at runtime in a different AppDomain using assemblyloader

2010-04-14 Thread Robert Jordan
On 14.04.2010 09:24, Armando B. wrote: have some suggestions to try to detect where is problem ? Add a lease tracking handler to see which object is prematurely disconnected: using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Lifetime; using

Re: [Mono-list] Application does not run after moving to VS2010

2010-04-14 Thread Robert Jordan
On 14.04.2010 14:36, Andrus wrote: After compiling web application with Visual Web Developer Express 2010 it does not run in Mono. Exception below occurs. If compiled with VWD2008 it runs OK and in .NET it also runs OK from VWD2010 _IDE. How to use Visual Web Developer Express 2010 with

Re: [Mono-list] Event raised from Plugin class loaded at runtime in a different AppDomain using assemblyloader

2010-04-13 Thread Robert Jordan
On 13.04.2010 11:14, Armando B. wrote: Hi all, i trying to generate an event from a plugin object that is created by an assembly loaded at runtime using an AssemblyLoader: Main AppDomain -PluginManager New AppDomain -AssemblyLoader (created using CreateInstanceAndUnwrap) -Plugin

Re: [Mono-list] Event raised from Plugin class loaded at runtime in a different AppDomain using assemblyloader

2010-04-13 Thread Robert Jordan
On 13.04.2010 12:10, Armando B. wrote: Hi Robert, that are 2 class (PluginLoader in AppDomain and AssemblyLoader in newAppDomain) http://hman.pastebin.com/0BXB2f1Z i defined and used event in highlight lines, but how could i use InitializeLifetimeService on event ? It looks good so far,

Re: [Mono-list] Telling Linux to enter Suspend state?

2010-04-13 Thread Robert Jordan
On 13.04.2010 15:10, Aldo Prinzi wrote: When my programs need it, for example after an upgrade, it pass the reboot command to the system simply using the process class. Can you force the suspend state using a shell command? Command line: dbus-send --system \ --print-reply \

Re: [Mono-list] I cannot get working Mono with MySql connector and the System.Data.Common namespace

2010-04-12 Thread Robert Jordan
On 12.04.2010 17:01, vtortola wrote: Hi, I've a small web project that uses the DbProviderFactories. I've downloaded the non-install version of the MySql Connector, the dll is copied to the bin directory correctly. I've added the configuration to the web.config file: system.data

Re: [Mono-list] Seeking advice on using monodevelop to learn CSharp

2010-04-12 Thread Robert Jordan
On 12.04.2010 18:28, Stephen Liu wrote: Hi Stifu, I think the problem is on mono. I can't even start MoMA I believe there is rather a problem with your (lack of) RTFA. Have a look at this nice FAQ: http://mono-project.com/FAQ:_General Robert

Re: [Mono-dev] sh#

2010-04-09 Thread Robert Jordan
On 09.04.2010 12:38, Απόστολος Συρόπουλος wrote: On the other hand, if one wants to gradually transform Unix-like systems into Windows-like systems, then one can use the real thing instead. This is not an option because we aim to subvert Unix-like systems after all. The first goal of world's

Re: [Mono-aspnet-list] HttpHandler to handle all kinds of U RL’s in Mono Apache in order to build a REST service

2010-04-06 Thread Robert Jordan
On 06.04.2010 16:28, vtortola wrote: Hi, I've replaced AddHandler mono * for SetHandler mono in the mod_mono.conf, and it's not working, I got an Error 404 when I try to open a url that has no physical representation. For example, I have an index.html file in the folder, so if I open :

Re: [Mono-aspnet-list] HttpHandler to handle all kin ds of URL’s in Mono Apache in order to build a REST se rvice

2010-04-06 Thread Robert Jordan
On 06.04.2010 17:24, Valeriano Tórtola Luis wrote: Hi, Now I get an Error 503 (Service temporarily unavailable) whatever I tried, even the index.html page. Is there any documentation about how archieve this? This is my mod_mono.conf : You did not configure any application. See

<    2   3   4   5   6   7   8   9   10   11   >