Re: [Mono-dev] Method marked in MoMA as MonoTodo is already implemented

2010-04-06 Thread Robert Jordan
On 06.04.2010 23:43, Alexander M. Batishchev wrote: Hi. After scanning my assemblies the latest MoMA said: Method with [MonoTodo] ConnectionStringSettingsCollection ConfigurationManager.get_ConnectionStrings () Class name: ConfigurationManager But at

Re: [Mono-list] Is there something like a 32bit emulation mode on OS/mono 64 ?

2010-04-06 Thread Robert Jordan
On 06.04.2010 15:09, sabba wrote: Hi, We are doing some tests of our happy running on win and mono 32bit .. the .NEt code runs fine but we have some problems accessing a native C dll that we would like not to rebuild for 64 bit. I'm quite confident with .NET execution on win 64 OS : on WIN

Re: [Mono-list] InternalsVisibleTo - how to use

2010-04-06 Thread Robert Jordan
On 06.04.2010 18:39, Abe Gillespie wrote: What do I need to do to allow the InternalsVisibleTo attribute to work for a testing project within MonoDevelop. (If this is a MD-specific question then I'm happy to take the discussion there.) Add this attribute to the assembly whose internals should

Re: [Mono-list] fastcgi-mono-server2.exe causing 100% CPU load

2010-04-06 Thread Robert Jordan
On 06.04.2010 20:52, Tomi wrote: Hello mono. I'm running two web applications (each on it's own domain) through nginx webserver and mono (ASP.NET MVC) using fastcgi-mono-server2. This program is causing after some random time period (few days) heavy CPU load (90-100%) even if there is no

Re: [Mono-list] Where to get Mono.Data.SqliteClient.dll ?

2010-04-03 Thread Robert Jordan
On 30.03.2010 21:58, Alexander M. Batishchev wrote: Hello. I can't build xsp (a testing module) from trunk on my virtual Debian because I have no Mono.Data.SqliteClient.dll in /usr/lib/mono/2.0/ I built mono from trunk with --prefix=/usr This assembly was deleted from trunk and xsp has

Re: [Mono-dev] Mscorlib too old for this runtime

2010-03-31 Thread Robert Jordan
On 31.03.2010 19:01, F. Miguel Carvalho wrote: Hi, We have checkout the last version of mono Project from svn repository and we have successfully built the mono vm. As class libraries we are using those from Mono 2.6.3 installation. This is not supported. If you build from trunk you

Re: [Mono-dev] Mscorlib too old for this runtime

2010-03-31 Thread Robert Jordan
On 31.03.2010 20:57, F. Miguel Carvalho wrote: As class libraries we are using those from Mono 2.6.3 installation. This is not supported. If you build from trunk you also have to use the matching mcs dir from trunk (or from whichever branch you've got mono from). I already had realized

Re: [Mono-list] mkbundle output.exe does nothing

2010-03-30 Thread Robert Jordan
On 30.03.2010 11:56, Marcovdlinden wrote: I actualy found the problem by process of ellimination.. Debug.Listeners.Add(new TextWriterTraceListener(.\\Log.log)); Debug.AutoFlush = true; mono Setup.exe works fine with this code mkbundle Setup.exe - stoped executing as soon as this piece of

Re: [Mono-list] mkbundle output.exe does nothing

2010-03-30 Thread Robert Jordan
On 30.03.2010 12:04, Robert Jordan wrote: On 30.03.2010 11:56, Marcovdlinden wrote: I actualy found the problem by process of ellimination.. Debug.Listeners.Add(new TextWriterTraceListener(.\\Log.log)); Debug.AutoFlush = true; mono Setup.exe works fine with this code mkbundle Setup.exe

Re: [Mono-list] Very new to Mono

2010-03-30 Thread Robert Jordan
On 30.03.2010 13:49, dcochran wrote: My little Hello World program works just fine, but when I try to do much of anything else, I get several errors. I'm sure that I'm missing a compile switch or something, but I haven't been able to find the documentation anywhere on the Mono website to tell

Re: [Mono-dev] Something bad happened between 2.6.1 and 2.6.3?

2010-03-26 Thread Robert Jordan
On 26.03.2010 18:06, Ben Clewett wrote: Dear List, Been using Mono through Mod-mono and stand-alone programs for years with great success, great product. Had an issue with 2.6.1 where a file handler in VB.NET was returning null, so upgraded to 2.6.3, and now nothing through Mod-Mono is

Re: [Mono-list] mkbundle output.exe does nothing

2010-03-26 Thread Robert Jordan
On 26.03.2010 14:58, Marcovdlinden wrote: I'm trying to mkbundle my setup.exe writen in C# to enable it to run on windows without .net (and without mono) installed but no luck the .exe does nothing. I have the latest version of Mono and Cygwin anf followed various guides to do the build.

Re: [Mono-list] mkbundle output.exe does nothing

2010-03-26 Thread Robert Jordan
On 26.03.2010 15:06, Robert Jordan wrote: Anyone got a clue what I'm doing wrong? You're not doing anything wrong. Applications are linked for the Windows subsystem and they don't get a console. If you want to build console apps, remove -mwindows from $monoprefix/lib/pkgconfig/mono.pc

Re: [Mono-list] Wrapping a native library which uses unsigned long on 32 bit and 64 bit systems

2010-03-25 Thread Robert Jordan
On 25.03.2010 10:17, Mathias Tausig wrote: Hello! I am writing a wrapper for a c library which uses the c datatype unsigned long a lot. According to http://www.mono-project.com/Interop_with_Native_Libraries , unsigned long maps to the .NET type uint on a 32bit architecture and to ulong on a

Re: [Mono-list] error CS8027 compiling xsp

2010-03-24 Thread Robert Jordan
On 24.03.2010 19:45, Nahum Castro wrote: I have the next error compiling xsp-2.6.3 OS: CentOS 5.4 x86_64 I have compilled and installed mono-2.6.3 when I try to do make on xsp-2.6.3 get the next error: ./configure without parameters PKG_CONFIG_PATH=$MONO_PREFIX/lib/pkgconfig ./configure

Re: [Mono-list] xsp2 crashes with missing method exception

2010-03-23 Thread Robert Jordan
On 23.03.2010 21:57, Andrus wrote: I tried to use xsp2 in windows but got missing method exception below. How to use xsp2 in windows ? Andrus. C:\myapp\webmono xsp2.exe You seem to be calling your own xsp version that probably doesn't match the version installed in the GAC. Robert **

Re: [Mono-list] Upgrading Mono from source release: protocol

2010-03-23 Thread Robert Jordan
On 23.03.2010 23:06, Abe Gillespie wrote: I've been wondering about this for a while now, and since I'm running more and more sites on Mono, I figured it'd be nice to have an official process in place. What is the best and official way to upgrade Mono? The scenario here is compiling from

Re: [Mono-dev] Embedding Scenario with MonoReflectionType

2010-03-22 Thread Robert Jordan
On 22.03.2010 09:38, Laurent Etiemble wrote: Hello, I am working on embedding Mono and I am stuck with the following issue: I would like to get a MonoClass or a MonoType instance from a MonoReflectionType instance. So, imagine I have an internal call with the following signature: There is

Re: [Mono-dev] Linear layout struct containing IntPtr is not marshaled properly

2010-03-21 Thread Robert Jordan
On 21.03.2010 12:23, Pavel Šavara wrote: Hello Mono people, I work on FOSS inter-process bridge between JVM CLR. See http:\\jni4net.sf.net if you are interested. Till now it works just on Windows and I started working on Mono support recently. I identified few Mono bugs, but one of them is

Re: [Mono-dev] gmake check error with Corlib not in sync with this runtime

2010-03-19 Thread Robert Jordan
On 20.03.2010 01:27, KISHIMOTO, Makoto wrote: Hello, gmake check of mono svn trunk fails with following error. Corlib not in sync with this runtime: expected corlib version 69, found 89. Loaded from: /export/home/ksmakoto/Mono/mcs/class/lib/net_2_0/mscorlib.dll Download a newer corlib or a

Re: [Mono-list] Build mono on Debian (testing)

2010-03-19 Thread Robert Jordan
On 19.03.2010 18:47, Alexander Batishchev wrote: $ make get-monolite-latest make .. make[8]: Entering directory `/usr/src/mono/mcs' *** The contents of your 'monolite' directory may be out-of-date *** You may want to try 'make get-monolite-latest' make[8]: *** [do-profile-check-monolite]

Re: [Mono-dev] Question on the number of closed vs. open bugs

2010-03-18 Thread Robert Jordan
On 18.03.2010 18:13, Robert Braun wrote: Hi, At http://mono-project.com/Bugs Mono's bug tracker is linked. As of today it counts 2572 open and 31 closed bugs (plus a larger number of unclosed new bugs and requests for enhancements). That ratio is extraordinarily high compared with any

Re: [Mono-dev] Issues with System.Random

2010-03-17 Thread Robert Jordan
On 17.03.2010 16:33, Adrian Willenbücher wrote: Kornél Pál wrote: You can use the OnDeserializedAttribute and NonSerializedAttribute attributes. Unfortunately that doesn't allow me to incorporate the serialized state. Instead, I think I found a better solution by explicitly (de)serializing

Re: [Mono-dev] Issues with System.Random

2010-03-17 Thread Robert Jordan
Hey, On 17.03.2010 18:31, Adrian Willenbücher wrote: Robert Jordan wrote: Implementing an interface is a breaking change of the API. That's why Konél was mentioning OnDeserializedAttribute. Thanks for the info, I didn't know that (I'm pretty new to C#, Mono and .NET). The only alternative I

Re: [Mono-list] Mono, constrained delegation and protocol transition

2010-03-17 Thread Robert Jordan
On 17.03.2010 12:53, Marc Boorshtein wrote: All, I'm new to Mono and am trying to understand how Kerberos Constrained delegation work together. I see that the libraries exist in Mono (ie there is a WindowsIdentity.impersonate method) but how does this work on Linux Apache? Does the web

Re: [Mono-list] mono_jit_init abort

2010-03-14 Thread Robert Jordan
On 14.03.2010 10:18, Ruud v A wrote: Hello, I am trying to embed Mono. When I call mono_jit_init however, the application exits with no reason. The main method is not finished, no code after this call is executed anymore. I suspect mono_jit_init ends the thread. I saw some other people with

Re: [Mono-list] mono_jit_init abort

2010-03-14 Thread Robert Jordan
On 14.03.2010 14:25, Ruud v A wrote: I have a class 'scripting_manager'. In this class a MonoDomain* is declared like this: MonoDomain* _mono_domain; In the constructor of scripting_manager I do this: mono_set_dirs(mono/lib, mono/etc); _mono_domain = mono_jit_init(VenioEngineManaged.dll);

Re: [Mono-dev] System.Threading.Monitor::Exit fails in latest trees

2010-03-05 Thread Robert Jordan
On 05.03.2010 16:09, Zoltan Varga wrote: Hi, The documentation says this, but the MS implementation works otherwise. MS started throwing with 2.0. It didn't throw before, though. using System; using System.Threading; class Test { static object locker = new object ();

Re: [Mono-list] How to fix System.Data.Linq.Mapping.ColumnAttribute.CanBeNull default value False

2010-03-05 Thread Robert Jordan
On 05.03.2010 09:19, Andrus wrote: In MONO 2.4 and 2.6.1 code below outputs canbenull==False How to fix ? Andrus. using System; using System.Data.Linq.Mapping; using System.Reflection; public class Kontekst { [Column()] public DateTime? Akuupaev { get; set; } } class

Re: [Mono-dev] Using Mono Assemblies under terms of LGPL

2010-03-03 Thread Robert Jordan
Hi, On 03.03.2010 11:44, Jacques Beaurain wrote: YOU have sources and a compiler toolchain. If you need a strong-named assembly, fold it into your own assemblies and strong name *those*, so that responsibility for maintaining API compatibility is clear. This is exactly the issue, the

Re: [Mono-dev] Workaround for build failure on Linux

2010-03-03 Thread Robert Jordan
On 03.03.2010 16:12, cpMon wrote: Here's a compile error from 2.6.1 and your latest svn tree: CCio.lo In file included from ../../mono/io-layer/wapi.h:28, from io.c:32: ../../mono/io-layer/sockets.h:85: error: conflicting types for ‘close’ /usr/include/unistd.h:350:

Re: [Mono-dev] Workaround for build failure on Linux

2010-03-03 Thread Robert Jordan
On 03.03.2010 20:07, Avery Pennarun wrote: On Wed, Mar 3, 2010 at 11:23 AM, Robert Jordanrobe...@gmx.net wrote: On 03.03.2010 16:12, cpMon wrote: Here's a compile error from 2.6.1 and your latest svn tree: CCio.lo In file included from ../../mono/io-layer/wapi.h:28,

Re: [Mono-list] Performance benchmark

2010-02-27 Thread Robert Jordan
On 28.02.2010 00:48, James Mansion wrote: Robert Jordan wrote: It was an example why results might be different. Relevant? Who? It is not. The GC is interacting with low-level OS parts and can be triggered any time during your benchmarks. Lets back up, becuase I still think there has

Re: [Mono-dev] Mono 2.6.x

2010-02-26 Thread Robert Jordan
Hey, On 26.02.2010 17:48, raccoon wrote: Hi, Can someone confirm that this fix will be included in the new build: https://bugzilla.novell.com/show_bug.cgi?id=566324 ? This has been a showstopper in our mono integration. I've commited what I thought it was the proper fix for this issue to

Re: [Mono-dev] Mono 2.6.x

2010-02-26 Thread Robert Jordan
On 26.02.2010 19:35, Robert Jordan wrote: I've commited what I thought it was the proper fix for this issue to svn trunk. ... and to the 2-6 branch. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com

Re: [Mono-dev] Problems with mono continuation

2010-02-25 Thread Robert Jordan
On 25.02.2010 09:07, raccoon wrote: Hi, I'm trying to use mono continuation on Windows 7, but for some reasong I get a security exception with this message ECall methods must be packaged into a system module.. Anyone else bumped into this? I am experiencing this on multiple machines running

Re: [Mono-dev] Problems with mono continuation

2010-02-25 Thread Robert Jordan
On 25.02.2010 13:43, raccoon wrote: Hi, Thought about that too... I tried copying all System.dll, Mono.Tasklets.dll and mscorlib.dll to the executable folder and still the same error. The odd thing is that I can attach VS to the process with managed code debugging and I see the GAC version

Re: [Mono-list] failed to load type from configuration

2010-02-25 Thread Robert Jordan
On 25.02.2010 16:57, incandenza wrote: Hello, I'm stuck trying to understand the error below. This is an attempt to load a net-tiers web service provider from configuration. The configuration looks like this: ... ** (WinformsCLV2POC.exe:2976): CRITICAL **: mono_metadata_blob_heap:

Re: [Mono-dev] POP3 and .NET

2010-02-24 Thread Robert Jordan
On 24.02.2010 11:08, pfj wrote: Hi, Thanks. I'm trying to avoid additional libraries and stick the .NET native ones for this project. I do have an additional problem, but I've posted that in another thread. Why are you using an extensible framework like mono if you don't care about

Re: [Mono-dev] libmono.0.dylib versus libmono-2.0.dylib

2010-02-24 Thread Robert Jordan
On 24.02.2010 21:38, Tom Philpot wrote: I noticed that in today's SVN build of mono, libmono is now libmono-2.0.dylib instead of libmono.0.dylib as in previous versions? Was there a reason for change? I ask because we can no longer use -lmono but now have to use -lmono-2 if we use a Mono svn

Re: [Mono-list] Using .NET Objects in Perl

2010-02-19 Thread Robert Jordan
On 19.02.2010 10:48, Mathias Tausig wrote: Hello! Does somebody know a possibility, to access a .NET dll from within a Perl script. I've developed a Perl module that embeds the Mono runtime and provides a dual bridge between Perl and Mono. We're using it in-house since years, but it's still

Re: [Mono-list] Sending email via gmx in C#

2010-02-17 Thread Robert Jordan
On 17.02.2010 12:04, pfj wrote: This should work happily, but I always get an error thrown - Mailbox unavailable. The server response was 5.7.0 Sender address does not belong to logged in user {mp-eu001} According to the docs for gmx, I'm doing this correctly. Is my code wrong or is there

Re: [Mono-list] Sending email via gmx in C#

2010-02-17 Thread Robert Jordan
On 17.02.2010 14:28, pfj wrote: Hi, I've got a valid gmx email address that I can send from my google account to the gmx one (or even my work email to gmx). According to the set up for thunderbird, the smtp needs usern...@gmx.com and a password. In my code they're both valid, yet I'm still

Re: [Mono-aspnet-list] Corlib not in sync with runtime

2010-02-15 Thread Robert Jordan
On 15.02.2010 17:02, Wilko van der Veen wrote: Hi Everyone, I'm stuck at this message: Corlib not in sync with this runtime: expected corlib version 60, found 89. Loaded from: /usr/local/lib/mono/2.0/mscorlib.dll Download a newer corlib or a newer runtime at http://www.go-mono.com/daily

Re: [Mono-winforms-list] Maximized don't works completely

2010-02-13 Thread Robert Jordan
On 13.02.2010 09:43, Stefano Del Furia wrote: HI, thanks for the reply. In other words, is there a way of get a full screen forms in Linux using Winforms The following code works for me on a GNOME desktop! ;) Robert --- using System; using System.Windows.Forms; class Program {

Re: [Mono-dev] Getting the list of all AppDomains in a process

2010-02-12 Thread Robert Jordan
On 12.02.2010 09:44, Lionel Cuir wrote: Hi All, I need to get a list of all loaded AppDomains in the running process (without asking developer to explicitely register them in a static hashtable for instance). In .NET on Windows, I can use COM Interop (see code below). But this is of course

Re: [Mono-dev] Getting the list of all AppDomains in a process

2010-02-12 Thread Robert Jordan
On 12.02.2010 16:40, Jonathan Pryor wrote: On Fri, 2010-02-12 at 13:10 +0100, Lionel Cuir wrote: Thank for the quick answer. Alas, the AppDomainManager is not a solution for us, as the assembly is not supposed to be in the GAC. I may be blind, but I don't see how AppDomainManager is a

Re: [Mono-dev] Getting the list of all AppDomains in a process

2010-02-12 Thread Robert Jordan
On 12.02.2010 18:41, Jonathan Pryor wrote: On Fri, 2010-02-12 at 16:55 +0100, Robert Jordan wrote: AppDomainManager is a base class that can be used to implement an own manager. Overriding CreateDomain and maintaining a list of created appdomains shouldn't take more the 2 line of code

Re: [Mono-list] SocketException: Too many open files (1020 sockets at once)

2010-02-09 Thread Robert Jordan
On 09.02.2010 20:56, Oriol de San Pedro wrote: Hi, Any mono application running on Linux (this doesn't happen on Mono Windows or NET Framework) issues a System.Net.Sockets.SocketException: Too many open files when handling more than 1020 sockets at once. Well, the default max count of open

Re: [Mono-list] SocketException: Too many open files (1020 socketsat once)

2010-02-09 Thread Robert Jordan
On 09.02.2010 21:54, Oriol de San Pedro wrote: Hi, Thank you Robert... My fault... I'm sorry for bringing this up.. I am a Linux newbie. Np! BTW, depending on your distro, you can raise this limit in /etc/security/limits.conf. It's easier than dealing with ulimit as root. Robert Best

Re: [Mono-dev] On what platform|cpu-arch|mono-version does full AOT actually work?

2010-02-06 Thread Robert Jordan
On 06.02.2010 11:46, Martin Däumler wrote: Hy. On 05.02.10 20:07, Zoltan Varga wrote: Full-aot support is intended for platforms where JITting is not permitted, like the iphone. So ARM is supported, and x86-64 is supported because thats where development is done. I read the Mono

Re: [Mono-winforms-list] PictureBox, Resources and RTF text box problems

2010-02-03 Thread Robert Jordan
On 03.02.2010 15:44, PFJ wrote: I have a pile of resources for a project which the resource manager handles quite nicely. I have an XML file which contains the name of the resource, but stored as a string rather than as an Image (it's the name of the resource). Is there a way that I can

Re: [Mono-dev] Problem with BinarySerialization

2010-02-03 Thread Robert Jordan
On 03.02.2010 10:49, PFJ wrote: Hi, Robert Jordan wrote: On 02.02.2010 14:35, PFJ wrote: Thus, the only *clean* way to solve this is introducing a shared assembly implementing the classes you want to serialize. It's a common pattern. As the serializer is only used once, can the other

Re: [Mono-dev] Problem with BinarySerialization

2010-02-02 Thread Robert Jordan
On 02.02.2010 13:04, PFJ wrote: However, the problem comes when I try to read it back in into a different program. The read in code looks like this namespace molarity { [Serializable()] public class xmlhandler : Form, ISerializable {

Re: [Mono-dev] Problem with BinarySerialization

2010-02-02 Thread Robert Jordan
On 02.02.2010 14:01, PFJ wrote: Hi, Robert Jordan wrote: The serialization infrastructure heavily relies on type/assembly identity, but what you're doing here is trying to create an object from serialization data generated from a totally different class. You should implement Elements

Re: [Mono-dev] Problem with BinarySerialization

2010-02-02 Thread Robert Jordan
On 02.02.2010 14:35, PFJ wrote: Thus, the only *clean* way to solve this is introducing a shared assembly implementing the classes you want to serialize. It's a common pattern. As the serializer is only used once, can the other app just deserialize and use it? I've reimplemented the

Re: [Mono-dev] Embed: MainWindow

2010-02-02 Thread Robert Jordan
On 03.02.2010 00:39, Steve Baer wrote: Hi, I've been working on embedding mono in a C++ Windows application (and an OSX app.) My C++ code calls a C# function through mono which in turn calls System.Windows.Forms.MessageBox.Show(Hi from mono); This shows a message box, but it is not modal

Re: [Mono-list] undefined symbol :apr_sockaddr_port_get

2010-01-31 Thread Robert Jordan
On 27.01.2010 11:45, hapiten wrote: Hi I have encountered some error to start httpd httpd:Syntax error on line 210 of /etc/httpd/conf/http.conf : Syntax error on line 8 of /etc/httpd/conf.d/mod_mono.conf :Cannot load /usr/lib/httpd/modules/mod_mono.so into server:

Re: [Mono-list] Change mono process name in ps/top

2010-01-25 Thread Robert Jordan
On 25.01.2010 17:50, Jonathan Pryor wrote: On Sun, 2010-01-24 at 16:55 +0100, Robert Jordan wrote: Yes, native applications with access to main's argv[0] can achieve it easily under Linux, but managed apps simply cannot access this location. System.Environment.GetCommandLineArgs()[0], anyone

[Mono-dev] [PATCH] map runtime versions 2 to the current stable version

2010-01-24 Thread Robert Jordan
Hi, Mono trunk doesn't support 1.0 anymore but it still lists old runtime versions as supported. This leads to a sudden death of the runtime with almost no information for casual users. The patch removes the unsupported versions from mono's supported runtime list and enhances the warning

Re: [Mono-list] Change mono process name in ps/top

2010-01-24 Thread Robert Jordan
On 24.01.2010 16:08, Bryan Murphy wrote: On Sat, Jan 23, 2010 at 3:41 PM, Michael Hutchinson m.j.hutchin...@gmail.com wrote: For setting the name that ps uses you can use the -a argument to exec. Some older systems may not support this, such as MacOS 10.4, but we do it in MonoDevelop and

Re: [Mono-list] Change mono process name in ps/top

2010-01-24 Thread Robert Jordan
On 24.01.2010 21:57, Michael Hutchinson wrote: Yes, native applications with access to main's argv[0] can achieve it easily under Linux, but managed apps simply cannot access this location. There is also no way that I know of to get a ptr to this memory location from a native library, so

Re: [Mono-list] Change mono process name in ps/top

2010-01-23 Thread Robert Jordan
On 23.01.2010 06:02, Bryan Murphy wrote: Is there a way I can change the name of a mono process for when I'm looking at it via ps or top? First, there is no portable way to change the process name. Under Linux, prctl(2) can be used to change the name. It seems that ps is still showing the

Re: [Mono-list] KEYDOWN EVENT

2010-01-23 Thread Robert Jordan
On 24.01.2010 01:15, Rıdvan Tülünay wrote: My form has an only one control that type is button, I write keydown event on it, this events works, on the keyboard characters ( like a,b ), but on up, down, left, right key doesn't work my event. Supposing you're using WinForms, please have a look

Re: [Mono-dev] Dictionary serialization between MS.NET and Mono

2010-01-21 Thread Robert Jordan
Hi Miguel, On 21.01.2010 01:49, Miguel de Icaza wrote: Patch applied. The patch is incomplete. It only fixes Mono - MS.NET but it doesn't consider MS.NET - Mono and OldMono - patched Mono. You can find the correct patch here: https://bugzilla.novell.com/show_bug.cgi?id=474009 Robert On

Re: [Mono-dev] Embeded : NullReferenceException not raised when using managed null objects on Windows

2010-01-21 Thread Robert Jordan
On 21.01.2010 15:29, Damien wrote: Hi, I am using Windows 7 x86, Visual Studio 2008, Mono 2.6.1 embeded (installed from windows setup). When I should have a NullReferenceException (bug in code), a managed NullReference is not thrown, but a native error occurs (Access violation, memory

Re: [Mono-dev] Embeded : NullReferenceException not raised when using managed null objects on Windows

2010-01-21 Thread Robert Jordan
On 21.01.2010 21:41, Damien wrote: Hi, I am using Windows 7 x86, Visual Studio 2008, Mono 2.6.1 embeded (installed from windows setup). When I should have a NullReferenceException (bug in code), a managed NullReference is not thrown, but a native error occurs (Access violation, memory

Re: [Mono-dev] Dictionary serialization between MS.NET and Mono

2010-01-20 Thread Robert Jordan
On 20.01.2010 23:01, John Lenz wrote: Hi, I am using mono 2.6.1, and trying to use .NET remoting with binary serialization to talk between a mono client and a MS.NET server. Almost everything works except transferring an empty System.Collections.Generic.Dictionary class. If I create an

Re: [Mono-list] .ASP vs .ASPX

2010-01-19 Thread Robert Jordan
On 09.01.2010 23:53, itchibahn wrote: I've just installed mod_mono on FreeBSD7 / Apache22. And the sample page comes up ok, but I changed the sample page extension to .asp from .aspx, and modified mod_mono.conf to reflect it (shown below), but it's not coming up. I made sure I restarted the

Re: [Mono-dev] illegal instruction

2010-01-15 Thread Robert Jordan
Hey, On 15.01.2010 11:16, Kirby Zhou wrote: More clearly, the problem maybe lives inside 'mono-2.4.3/mono/*'. diff -ruN mono-2.4.2.3 mono-2.4.3 x.patch cd mono-2.4.2.3 filterdiff x.patch -i ''mono-2.4.3/mono' | filterdiff-x 'mono-2.4.3/mono/tests/*' | patch -p1 ./configure make And

Re: [Mono-list] Mono 2.6 for Ubuntu

2010-01-15 Thread Robert Jordan
On 15.01.2010 14:19, Chorn Sokun wrote: hmm, strange I can't get gtk-sharp-2.12.9 don't understand why *al* is located in */opt/mono/bin/al* but when I excecute al I got *The program 'al' is currently not installed. You can install it by typing: * *sudo apt-get install mono-devel*

Re: [Mono-dev] Listening in on a port (was the daemon thingy a week or so back)

2010-01-12 Thread Robert Jordan
On 12.01.2010 14:08, PFJ wrote: Hi, I'm making some progress with my daemon in C# to listen in on port 80 and monitor how much time my son is spending on line, but I've hit a snag. A daemon listening on port 80 won't be able to monitor anything but connections made to it. Is this what you

Re: [Mono-list] Mono 2.6 for Ubuntu

2010-01-12 Thread Robert Jordan
On 12.01.2010 21:03, James Mansion wrote: B.R. wrote: Universal binaries were provided at one point, in the form of an Universal Linux Installer. These were discontinued around Mono 1.9.1, because they didn't work properly on most distros: components that were relied on were not ABI-stable,

Re: [Mono-dev] Fundamental performance problems with Mono

2010-01-08 Thread Robert Jordan
On 08.01.2010 13:14, Stifu wrote: Hi, You may already know, but Mono 2.8 will have a brand new GC... This may improve your app performances. The new GC won't help in this special case. Therefore, I do blame Mono for the poor performance. If the epoll+I/O Thread pool model is implemented

Re: [Mono-dev] Mapping Mono-Threads to Linux-Threads

2010-01-08 Thread Robert Jordan
On 08.01.2010 15:24, Martin Däumler wrote: Hy, I'm using Mono 2.6.1 on a standard x86 computer running on Linux 2.6.30. I built Mono from the sources without problems. I want to know how Mono and its CRL, respectively, map threads and processes created from the CLI code to Linux threads.

Re: [Mono-list] xsp 2.6.1 failing: Couldn't bind to method 'SetHostingEnvironment'.

2009-12-31 Thread Robert Jordan
On 31.12.2009 19:51, Ben Joldersma wrote: Hey folks! hope you're having a great end of year / beginning of new one. I'm trying to get 2.6 running with our code, mainly so I can try out the new soft debugger in MD. I'm getting this exception: Exception rethrown at [0]: ---

Re: [Mono-dev] Confused about mono_array_to_lparray function

2009-12-28 Thread Robert Jordan
On 28.12.2009 11:10, Laurent Etiemble wrote: Hello, I have a question regarding the mono_array_to_lparray function found in mono/metadata/marshal.c:551. Almost all the function body is decorated by a #ifndef DISABLE_COM define that I have hard time to understand: - If DISABLE_COM is

Re: [Mono-winforms-list] does system.drawline not work?

2009-12-19 Thread Robert Jordan
On 19.12.2009 14:49, Stifu wrote: This is weird. I'm wondering if it could be a graphics driver problem. The problem might be caused by libgdiplus. The OP (whose Nabble post is invisible to me) probably did not compile install an updated libgdiplus. There were not many changes between 2.4 and

Re: [Mono-list] [Webservice] illegal character error

2009-12-16 Thread Robert Jordan
On 16.12.2009 16:49, FernandoX wrote: Hi, I m trying to deploy a webservice. I used an example (in the end) from internet but i got error when i typed this command: wsdl2 NumberService.asmx /out:teste.cs The error was: Error: a name did not start with a legal character 37 (%)

Re: [Mono-list] XSP under Microsoft framework

2009-12-13 Thread Robert Jordan
On 13.12.2009 14:23, manzi wrote: Hi guys, I've some problem with mono runtime and I've to use the microsoft one, but I want use XSP as web server, I see that MonoDevelop can use it with the Microsoft framework , but I tried to run it alone without luck , I've also try to use this simple

Re: [Mono-dev] Internal-Call

2009-12-09 Thread Robert Jordan
Dexter Yao wrote: Is there a another better way to call from C#( managed code ) by passing the pointer( IntPtr in C# ) of one C++ object and invoke its method? ( like the Lua does ) Looking forward to your reply. There is no other way to invoke arbitrary C++ methods, but you could design

Re: [Mono-dev] System.Reflection.Assembly::Load Performance?

2009-12-09 Thread Robert Jordan
On 09.12.2009 16:20, Leszek Ciesielski wrote: This loop will consume a lot of resources as the runtime have to decode and load all types in the assembly before returning it. This foreach loop is a common pattern for loading subclasses/plugins from an assembly, is there a better pattern for

Re: [Mono-list] Where to start to carry my application on Mac OS ?

2009-12-08 Thread Robert Jordan
Stifu wrote: Read the part on Path Separators here: http://www.mono-project.com/Guidelines:Application_Portability This does not apply to registry keys. Mono's registry does not contain the Software key by default. If you want to access this key you have to create it first: ... RegistryKey

Re: [Mono-list] mscorlib

2009-12-08 Thread Robert Jordan
BERTRAND Joël wrote: I don't understand why gacutil returns Version=2.0.0.0 when I try to add 1.0.5000. Any idea ? mscorlib is never loaded from GAC. It's always loaded from lib/mono/x.x/ directly. If you want to force an application to run on a specific runtime version, you may want to

Re: [Mono-list] Embeding mono. Error at mono_jit_exec

2009-11-23 Thread Robert Jordan
Alexander Smirnov wrote: Hello. I'm trying to embed mono into a C application and I get an error when executing the compiled C code (process:3817): GLib-CRITICAL **: g_path_is_absolute: assertion `file_name != NULL' failed when executing mono_jit_exec() function here is the C

Re: [Mono-list] Error building XSP

2009-11-22 Thread Robert Jordan
kuse wrote: Hello, When I try to build XSP it first complains about sn.exe is missing. I see the file in mcs/class/lib/basic/sn.exe. I manually copy it to ../mono/lib/mono/2.0 and try to build again and now it works (obviously) but when running make install i'm getting this error:

Re: [Mono-list] Embeding Mono. Memory management

2009-11-20 Thread Robert Jordan
Alexander Smirnov wrote: Hello I want to use mono embeding. But I don't quite understand how the memory management is done when using mono objects from C code. For example, there is mono_string_new() function which creates a mono string. This string belongs to mono - am I right? So

Re: [Mono-list] Embeding Mono. Memory management

2009-11-20 Thread Robert Jordan
Alexander Smirnov wrote: But how GC knows when to free such objects? When it frees such objects? It frees them, when no other managed reference is pointing to them. Could GC free the object when I still need it? for example void func() { MonoString* str=mono_string_new (domain, some

Re: [Mono-list] Embeding Mono. Memory management

2009-11-20 Thread Robert Jordan
thanks for your help 20.11.09, 14:56, Robert Jordan robe...@gmx.net: Alexander Smirnov wrote: But how GC knows when to free such objects? When it frees such objects? It frees them, when no other managed reference is pointing to them. Could GC free the object when I still need

Re: [Mono-dev] [PATCH] MONO_IOMAP reporting option

2009-11-19 Thread Robert Jordan
Hi Marek, Marek Habersack wrote: Hey folks, The attached patch implements a new option for the MONO_IOMAP mechanism - report. The option tells the mapping code to print information to stdout each time a mismatch is found. The information includes requested file name, actual file

Re: [Mono-winforms-list] Using Windows Forms over Linux

2009-11-18 Thread Robert Jordan
Dimitris Karantonis wrote: Hi to all, I am new to .net development over Linux platforms (I have always used MS Visual Studio platform) and I would like to ask what is the best way of implementing a Window Forms application in order to be able to deploy it on both Windows and Linux OS.

Re: [Mono-list] Mono and NPGSQL problems, help please!!

2009-11-18 Thread Robert Jordan
Martín Neu wrote: Fransisco, I tried in two diferent computer's, each one with windows environment and the last release of mono. Please post the output of mono -V. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] Mono and NPGSQL problems, help please!!

2009-11-18 Thread Robert Jordan
Martín Neu wrote: Hi Robert, Mono JIT compiler version 2.4.2.3 (tarball) Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com TLS: normal GC:Included Boehm (with typed GC) SIGSEGV: normal Notification:

Re: [Mono-list] lifetime of MonoMethod in mono embedding

2009-11-18 Thread Robert Jordan
ptr2009 wrote: hey all It seems like when using mono_object_new in an embedded application you are supposed to use mono_gchandle_new to store a handle to the object so that it is not garbage collected when you reference it again. 1) what is appropriate value of pinned gboolean to be

Re: [Mono-dev] chmod allows wildcards?

2009-11-12 Thread Robert Jordan
Hi, APS wrote: Hi, I need to chmod a directory with all contained files. I saw Mono.Unix.Native.Syscall.chmod Method but I cant understand if it can be used as recursive or with wildcards. To set 700 to all files in a folder I can do Mono.Unix.Native.Syscall.chmod('/path/*', S_IRUSR

Re: [Mono-list] Weird issue with Process.Start (works with MS .NET)

2009-11-12 Thread Robert Jordan
Charlie Poole wrote: Hi Anteru, Err, the problem is, if the C# code is executed with the Mono Runtime, the Start() call hangs, while it works with the MS.NET runtime -- I didn't check whether it makes a difference whether the _target_ process uses a different runtime. The problem is

Re: [Mono-dev] Should we replace MemoryStream?

2009-11-10 Thread Robert Jordan
Leszek Ciesielski wrote: Choice is not always good, and I think this is one of the cases when the default (i.e. the MemoryStream implementation) should make the choices instead presenting them to the user. Though I agree that the case of constructing a MemoryStream from an existing byte[]

Re: [Mono-dev] Should we replace MemoryStream?

2009-11-10 Thread Robert Jordan
Hey, Avery Pennarun wrote: On Tue, Nov 10, 2009 at 8:48 AM, Robert Jordan robe...@gmx.net wrote: MemoryStream.GetBuffer's docs indirectly suggest that no copy will be performed: Note that the buffer contains allocated bytes which might be unused. For example, if the string test is written

Re: [Mono-dev] Should we replace MemoryStream?

2009-11-10 Thread Robert Jordan
Avery Pennarun wrote: On Tue, Nov 10, 2009 at 11:24 AM, Robert Jordan robe...@gmx.net wrote: Right, but MemoryStream is pretty prevalent and one of its frequent usage pattern is: var ms = new MemoryStream () or MemoryStream(somepredictedsize); // fill ms with some stream APIs ms.Close

Re: [Mono-list] Re moting Problem - Object reference not set to an instance

2009-11-10 Thread Robert Jordan
hematec wrote: Hello, i really urgent need some help!! i'm trying to port a C# remotingproject over to mono. The project uses a singleton SAO as a factory for the CAO (Client). Please file a bug with a self-contained compilable test case at http://mono-project.com/Bugs. Robert

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