Re: [Mono-dev] Mono Service crashs

2010-12-14 Thread Robert Jordan
On 14.12.2010 16:16, Chakotey STME wrote: Hello Community, I have a problem with a mono-service. I have a mono-service in which I host a WCF-Service. I start the software with mono-service2 and it works fine. After a while (I can't say when exactly - sometimes after 1 hour, sometimes after

Re: [Mono-list] Parallel environments and mono runtime license

2010-12-14 Thread Robert Jordan
On 14.12.2010 13:07, noelkennedy wrote: I'm a bit confused about how the LGPL 2.0 license for the mono runtime works. I apologise if this question has already been asked somewhere else, but I couldn't find any unambiguous answers to my specific question. Would using Parallel Environments on

Re: [Mono-list] Parallel environments and mono runtime license

2010-12-14 Thread Robert Jordan
On 14.12.2010 16:04, noelkennedy wrote: Thanks for the quick reply! To confirm my understanding: - I want to distribute my program which would be 'bundled' with a specific version of mono - I would need to distribute it with the mono runtime source code - I would need to allow the

Re: [Mono-aspnet-list] Could not load type 'System.Web.Mvc.HttpGetAttribute'

2010-12-08 Thread Robert Jordan
On 08.12.2010 21:59, monoonom wrote: In my MVC-App when I add eg. HttpGet or HttpPost attribute to my ActionMethods, I'm getting the following Error: System.TypeLoadException: Could not load type 'System.Web.Mvc.HttpGetAttribute' from assembly 'MyMVC'. This attribute is not supported in

Re: [Mono-list] Resource files

2010-12-08 Thread Robert Jordan
On 08.12.2010 14:37, Ronaldo Nascimento wrote: How does one use a .resources file? How are they formatted? See resgen's man page How do you get the information in them at run time? See System.Resources.ResourceManager. Robert ___ Mono-list

Re: [Mono-list] mono-service2 debugging issues

2010-12-08 Thread Robert Jordan
On 08.12.2010 19:48, Abe Gillespie wrote: Oh, shoot, I forgot to circle back on this one. My apologies, I had a couple of threads going concurrently. I debugged the old fashion way and finally figured out this is what I needed: Heh, no :) You want mono-service, which defaults to 4.0.

Re: [Mono-list] What is the best way to parse command line argume nts?

2010-12-07 Thread Robert Jordan
On 07.12.2010 17:31, ArsenShnurkov wrote: I use Mono.Options, not Mono.GetOptions. In the Monodevelop 2.4.1 I don't see Mono.Options assembly in Edit References dialog. There is only Mono.GetOption.dll What I need to add to references? It's not an assembly. You can get its source file

Re: [Mono-aspnet-list] Impersonation for special pathes

2010-12-03 Thread Robert Jordan
On 02.12.2010 21:02, ma...@manfbraun.de wrote: Hi All ! To allow some system near function, I need a prived user. With windows, I use imperonation in asp.net, defined in the 'web.conf', under special 'location' tags. Is this just the same way with mono/linux [so far I would currently not

Re: [Mono-aspnet-list] asp.net 4.0, vs 2010, C# pre-compilation error

2010-11-29 Thread Robert Jordan
Hey, On 29.11.2010 17:20, Petrelli wrote: Hey Robert, I followed this 'tutorial': http://mono-tools.com/Debug.aspx Only thing is that I'm on a Windows computer and use Mono 2.8.1 in step 4 (C:\Program Files\Mono 2.8.1) So I really don't know why it tries to precompile it with asp.net

Re: [Mono-dev] Validate xml file with schema file

2010-11-29 Thread Robert Jordan
On 29.11.2010 10:55, Chakotey STME wrote: Hi, I have a problem with this code under mono 2.6: Dim xsdMarkup As XDocument = XDocument.Load(/home/stefan/xml/PluginConfigSchema.xsd) Dim schemas As XmlSchemaSet = New XmlSchemaSet() schemas.Add(,

Re: [Mono-dev] [PATCH]

2010-11-26 Thread Robert Jordan
On 26.11.2010 13:42, Rui Craveiro wrote: Hi, I am submitting a patch that contains the methods that are missing from the System.Xml.XmlConvert class. I have separated the patch into two files. classes.patch contains the changes to XmlConvert.cs and a small change I needed to do to

Re: [Mono-list] FW: [Mono-aspnet-list][Sorry for duplicate] Missing mobile controls

2010-11-24 Thread Robert Jordan
...@lists.ximian.com Subject: Re: [Mono-aspnet-list] Missing mobile controls On Mon, 2010-11-22 at 01:38 +0100, Robert Jordan wrote: Hi, On 22.11.2010 00:44, ma...@manfbraun.de wrote: Hi All ! I am just porting an existing web to a debian [squeeze] box with apache running mod-mono. I just

Re: [Mono-aspnet-list] Missing mobile controls

2010-11-21 Thread Robert Jordan
Hi, On 22.11.2010 00:44, ma...@manfbraun.de wrote: Hi All ! I am just porting an existing web to a debian [squeeze] box with apache running mod-mono. I just found, that the mobile controls seems not to be supported: Parser Error Message: Cannot find type

Re: [Mono-list] Problem loading assembly

2010-11-18 Thread Robert Jordan
On 18.11.2010 18:30, Fede wrote: Hi! I'm using the embedding API to load an assembly that for some reason fails. The assembly in question is this: http://www.filedude.com/download/khjyqeEI6Cff74766c5e If I try to run it with the Mono command line program I get this error: * Assertion at

Re: [Mono-dev] Problem with FileSystemWatcher

2010-11-17 Thread Robert Jordan
On 17.11.2010 14:45, Chakotey STME wrote: If I execute this programm under windows and .net and make a change in the file, FileSystemWatcher get me 2 events. It works perfect. How do you change the file? Robert ___ Mono-devel-list mailing list

Re: [Mono-dev] Problem with FileSystemWatcher

2010-11-17 Thread Robert Jordan
On 17.11.2010 14:52, Chakotey STME wrote: I use the editor vi. Then I delete a line or insert a cr. -- the result is the same could it be a problem with the editor? Yes. The file is probably rewritten line-by-line. Robert ___ Mono-devel-list

Re: [Mono-list] mono_jit_exec problem

2010-11-14 Thread Robert Jordan
Federico, On 14.11.2010 01:23, Fede wrote: Robert: Thank you very much for your answer! I tried setting the MONO_PATH environment variable to where the assemblies are located and the mono command line program seems to do the same, it doesn't run the main assembly. The debug output shows

Re: [Mono-list] mono_jit_exec problem

2010-11-13 Thread Robert Jordan
On 13.11.2010 18:10, Fede wrote: That is for example: if I call it with path/to/myassembly.exe or /full/path/to/myassembly.exe, mono_jit_exec() just returns without executing the program; in the other hand, if I call it being in the same directory where the assembly is located the program just

Re: [Mono-dev] xbuild - ** ERROR **: shm_semaphores_init: semget error: No space left on device.

2010-11-12 Thread Robert Jordan
On 12.11.2010 19:06, Arne Claassen wrote: I can try that. But more importantly, I'd like to learn more about about semaphore usage. Their usage has been faded out in 2.8. I'm just wildly speculating, but i assume it sets up a new one for IPC when an application gets compiled into a new

Re: [Mono-dev] Bug: Console output redirection doesn't work in mono

2010-11-07 Thread Robert Jordan
On 07.11.2010 19:04, Quandary wrote: For reproduction example program, see my C# post here: http://stackoverflow.com/questions/4107683/controling-cmd-exe-from-winforms/4118494#4118494 Note that I have replaced cmd.exe with /usr/bin/gnome-terminal and /usr/bin/bash but it doesn't work as in

Re: [Mono-list] Mono embedding: mono_gc_register_thread() question

2010-11-05 Thread Robert Jordan
On 05.11.2010 08:03, Fede wrote: Hi! I'm embedding Mono 2.8 in one of my Windows applications and noted that this document http://www.mono-project.com/Compacting_GC; says that one must call mono_gc_register_thread(). Now, the question is: what kind of parameter does this function expect? Is

Re: [Mono-winforms-list] HOW TO RUN APPLICATION

2010-11-03 Thread Robert Jordan
On 03.11.2010 11:07, Anubhava Dimri wrote: Hello Experts, I have a MONO application. Which i want to convert as Self Executable. How can it possible. I do't want to use terminal window. http://www.mono-project.com/Guide:Running_Mono_Applications Robert

Re: [Mono-aspnet-list] How to compile xsp with SQLite?

2010-11-02 Thread Robert Jordan
On 02.11.2010 11:01, Bear wrote: hi there, I tried to compile xsp in my Dreamhost hosting. But unfortunately, Dreamhost only installed SQLite 3.5, so I failed on compiling. But I have compiled an SQLite 3.6 in my own home folder /home/xxx/applications/sqlite36 . Is there any way for me to

Re: [Mono-dev] Mono in WinPE - need minimal installation.

2010-11-02 Thread Robert Jordan
On 02.11.2010 03:23, greenaj wrote: I would like to use Mono 2.8 under WinPE for customized Windows installations. MS .NET will not install in WinPE. I am looking for a best practices way of creating a minimal set of Mono DLL's and runtime libraries for copy into WinPE for to run an

Re: [Mono-dev] Mono in WinPE - need minimal installation.

2010-11-02 Thread Robert Jordan
On 02.11.2010 19:18, greenaj wrote: The mkbundle'd files are rather beefy, so we wanted to save on download size. We are hoping to manually create a minimal Mono runtime environment, tailored for what we need. A trimmed down runtime would be at least as large as a bundle. You'd only save

Re: [Mono-winforms-list] object reference not set to an instance of an object

2010-11-01 Thread Robert Jordan
On 01.11.2010 16:56, Stifu wrote: Although you managed to work around your problem, if you think there is a bug in Mono, feel free to file a bug report. ActiveForm is null when the application does not have focus, i.e. it's not activated in Windows parlance. A click on the desktop is enough to

Re: [Mono-dev] Process problem

2010-10-28 Thread Robert Jordan
On 28.10.2010 09:58, Charles Esterbrook wrote: Thanks, Stefan. So our diffs are at least: arch vs gentoo, x86 vs amd64 and 32-bit vs 64-bit.I don't know if you downloaded the source ball and built from that or did something else, although I doubt that will matter for this. Do you have a

Re: [Mono-list] Webservice and jQuery problem

2010-10-28 Thread Robert Jordan
On 28.10.2010 02:43, Paul F. Johnson wrote: Hi, I'm stuck on this one as I think it's all more or less correct. Rather less than more. Your code is vulnerable to SQL injection and other nasty things (behind-firewall host discovery etc.). Fix this first. Robert

Re: [Mono-dev] Unable to work with Configuration files

2010-10-27 Thread Robert Jordan
On 27.10.2010 14:51, vinay_rk wrote: So it makes it more mysterious that the stack trace goes through WindowsIdentity.Impersonate(). All I' am calling in my code is ConfigurationManager.GetSection(NameOfCUstomSection). The rest is supposed to be happenening within the framework (In this case

Re: [Mono-list] Mono 2.8, Windows, Default Culture ! en-US !

2010-10-27 Thread Robert Jordan
On 27.10.2010 15:22, terrak wrote: Hi, I actually ported a linux multi-threaded application to Windows. I have installed Mono 2.8, Rsvg and the TaoFramework, Monodevelop 2.4 on Windows XP and Windows 7. The Windows OS is configured in French. If I start an application with Microsoft

Re: [Mono-list] Convert date from rfc822 format to dateTime

2010-10-25 Thread Robert Jordan
On 25.10.2010 12:05, LordPhoenix wrote: Hi all, anybody knows an easy way to convert date in rfc822 format (http://asg.web.cmu.edu/rfc/rfc822.html#sec-5) to a datetime? I can do it myself but if someone already does the job… Have you already tried .NET's RFC 1123 parsing? A 1123 parser is

Re: [Mono-list] Problem with DateTime class from C code

2010-10-24 Thread Robert Jordan
On 23.10.2010 19:18, Fede wrote: Hi Robert, thank you for your answer! I've tried calling the default ctor using mono_runtime_object_init() on the DateTime instance but I get an assertion: ERROR:object.c:95:mono_runtime_object_init: assertion failed: (method) Stacktrace: Yes, my bad.

Re: [Mono-list] Errors with XML Comments during build

2010-10-24 Thread Robert Jordan
On 24.10.2010 22:19, Ryan Boggs wrote: Hi, I have a project that I am trying to build on Mono-2.8 but it is erroring out with the following message: error CS1574: XML comment on 'full method name here' has cref attribute 'System.String' that could not be resolved I've read up on CS1574 and

Re: [Mono-list] Problem with DateTime class from C code

2010-10-24 Thread Robert Jordan
Federico, Value types must be unboxed for mono_runtime_invoke: string = (MonoString*)mono_runtime_invoke(method, object, NULL, NULL); string = (MonoString*) mono_runtime_invoke(method, mono_object_unbox(object), NULL, NULL); Robert

Re: [Mono-list] Problem with DateTime class from C code

2010-10-23 Thread Robert Jordan
On 23.10.2010 07:12, Fede wrote: Hi! I've a problem when instantiating a DateTime class from C code and invoking the ToString() method. The code I've is as follows: class = mono_class_from_name(mono_get_corlib(), System, DateTime); object = mono_object_new(domain, class); method =

Re: [Mono-list] mod-mono

2010-10-21 Thread Robert Jordan
On 21.10.2010 21:17, Peter Hagen wrote: Should I start mod-mono-server myself to get this done? Yes. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Mono 2.8 and pkg-config behaviour

2010-10-19 Thread Robert Jordan
On 19.10.2010 11:35, Daniel Isenmann wrote: $ pkg-config --libs --cflags mono-2 -D_REENTRANT -I/usr/lib/pkgconfig/../../include/mono-2.0 -L/usr/lib/pkgconfig/../../lib -lmono-2.0 -lm -lrt -ldl -lpthread Is this behaviour intended? Should the mono.pc nothing return? This could make some

Re: [Mono-list] Mono 2.8 and pkg-config behaviour

2010-10-19 Thread Robert Jordan
On 19.10.2010 13:27, Daniel Isenmann wrote: Am 19.10.2010 12:22, schrieb Robert Jordan: On 19.10.2010 11:35, Daniel Isenmann wrote: $ pkg-config --libs --cflags mono-2 -D_REENTRANT -I/usr/lib/pkgconfig/../../include/mono-2.0 -L/usr/lib/pkgconfig/../../lib -lmono-2.0 -lm -lrt -ldl -lpthread

Re: [Mono-list] Mono 2.8 and pkg-config behaviour

2010-10-19 Thread Robert Jordan
On 19.10.2010 14:41, Robert Jordan wrote: On 19.10.2010 13:27, Daniel Isenmann wrote: Am 19.10.2010 12:22, schrieb Robert Jordan: On 19.10.2010 11:35, Daniel Isenmann wrote: $ pkg-config --libs --cflags mono-2 -D_REENTRANT -I/usr/lib/pkgconfig/../../include/mono-2.0 -L/usr/lib/pkgconfig

Re: [Mono-list] mono-service2 - where did service.exe.lock go?

2010-10-15 Thread Robert Jordan
On 15.10.2010 17:05, Abe Gillespie wrote: I'm still looking for help on this. I tried using the mono-service -l switch with no success. Open mono-service* (it's a script) with your favorite viewer/editor and look up the lock location. ___ Mono-list

Re: [Mono-list] DllImport error loading library '(null)

2010-10-12 Thread Robert Jordan
On 12.10.2010 18:24, Tristan Zajonc wrote: Is there an obvious reason why Mono is failing to find libzmq.dylib, which is located in /usr/local/lib? And why does the error become (null)? Maybe libzmq.dylib is a 64-bit library. Check this first. The (null) means that Mono was not able to obtain

Re: [Mono-dev] Problem running mkbundle using cygwin/windows

2010-10-11 Thread Robert Jordan
Hey, On 11.10.2010 18:43, Patrick Kowalzick wrote: Dear List, I get an error running mkbundle using cygwin/windows. I installed mono-2.8, cygwin 1.7 (gcc-mingw, mingw-zlib) and set up the paths in my .bashrc. A test run looks like: ... temp.c: In function `main': temp.c:170: warning:

Re: [Mono-list] mono --runtime option list

2010-09-13 Thread Robert Jordan
On 13.09.2010 00:55, Ryan Boggs wrote: Hi, Does anyone know where I can find a list of valid options for the mono --runtime argument? I want to make sure that I am using the right ones. .NET 1.1:v1.1.4322 (discontinued in 2.8) .NET 2.0:v2.0.50727 .NET 4.0:v4.0.30319

Re: [Mono-list] Embedding two assemblies in Mono gives emits NullPointerException

2010-09-13 Thread Robert Jordan
On 13.09.2010 13:28, petermonsson wrote: Hi all, I'm trying to embed two different assemblies into my mono application. Embedding just either of them is no problem, but when I try to embed both, I get a NullPointerException. I fail to see where you embed 2 assemblies. Do you mean loading 2

Re: [Mono-list] iPhone SDK 4.0 prohibits Mono: MonoTouch future?

2010-09-10 Thread Robert Jordan
On 10.09.2010 10:35, Dimitar Dobrev wrote: It seems, actually, that my guess was correct according to one of the questions in https://spreadsheets.google.com/viewform?formkey=dFNpLWloTF9oR19Ub1oweEtVdFh4VXc6MQ the MonoTouch survey published today : Now that interpreted are allowed, one

Re: [Mono-dev] mono.simd

2010-09-09 Thread Robert Jordan
Hi Rodrigo, On 07.09.2010 02:32, Rodrigo Kumpera wrote: Robert, can you commit your patch after you state the license of it? Either via email on MDL or on the commit message. This patch is contributed under the MIT license I don't have push access to the main repository, so please

Re: [Mono-list] Program start shows MS-DOS header error message

2010-09-09 Thread Robert Jordan
On 09.09.2010 11:34, Andrew K. wrote: Hi there, I spent the last days on getting our application to run with mono. I'm developing on a Windows XP SP3 system with Visual Studio 10 and .NET 3.5. For the local tests I installed mono-2.6.7. Additionally I installed Cygwin and installed there

Re: [Mono-list] Program start shows MS-DOS header error message

2010-09-09 Thread Robert Jordan
On 09.09.2010 13:17, Andrew K. wrote: Of course you're right. I just tried some options to get an output by mono at all because a standard call to mono (mono [myexename].exe) doesnt output anything even if i pipe it to a .txt file (mono [myexename].exe mono.log). I should mention that the

Re: [Mono-dev] Method not found: 'System.Data.Common.DbConnection.EnlistTransaction' in System.Data Version 4.0.0.0

2010-09-02 Thread Robert Jordan
On 02.09.2010 13:09, Tomi wrote: I have tried to do this by myself, but I can't get it to work. The problem is probably in DbConnection.cs class (http://github.com/mono/mono/blob/master/mcs/class/System.Data/System.Data.Common/DbConnection.cs) because EnlistTransaction method (among others)

Re: [Mono-list] about guid

2010-08-30 Thread Robert Jordan
On 30.08.2010 06:59, Michael Hutchinson wrote: On Mon, Aug 30, 2010 at 12:36 AM, Steve Lessards_less...@yahoo.com wrote: Robert wrote: the algorithms behind MS' implementation are not well documented. Are you talking about the algorithms for and implementation of Type.GUID, or are you

Re: [Mono-dev] mono.simd

2010-08-23 Thread Robert Jordan
On 23.08.2010 13:16, Robert Jordan wrote: On 23.08.2010 04:53, Jerry Maine - KF5ADY wrote: I found a discrepency in Mono.Simd.SimdRuntime.AccelMode and it is equivalent access by reflection. I believe this is a bug. Attached is a test for this. I believe there are more cases

Re: [Mono-dev] mono.simd

2010-08-23 Thread Robert Jordan
On 23.08.2010 19:24, Jerry Maine wrote: Would the c# portion of the patch work on MS .Net? Dammit! I thought the icall would be ignored by MS.NET because I took care of not invoking it in this case. But icalls are not allowed in assemblies != mscorlib under MS.NET. Unless I'm misguided, the

Re: [Mono-dev] mono.simd

2010-08-23 Thread Robert Jordan
On 23.08.2010 23:13, Rodrigo Kumpera wrote: I think it's easier to catch the security exception under MS since its accell mode is None anyway. I had to move icall's call site outside the .cctor and mark the call site's method as non-inlineable to make this work. Thanks for the hint.

Re: [Mono-dev] Strange Casting bug in .net 4 profile

2010-08-18 Thread Robert Jordan
Hey, I believe this is already fixed in trunk. It was a mismatch between the 2.0 and 4.0 System.Configuration.dll that were loaded together into the same appdomain. This means that ServicesSection defined in these assemblies were actually incompatible to each other. Robert On 18.08.2010 13:52,

Re: [Mono-dev] Strange Casting bug in .net 4 profile

2010-08-18 Thread Robert Jordan
Thomas Sent: 18 August 2010 15:42 To: Robert Jordan; mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Strange Casting bug in .net 4 profile There are some similar looking bugs on bugzilla but it is still happening in trunk now. I just deleted /opt/mono ran: make clean git pull

Re: [Mono-list] about guid

2010-08-15 Thread Robert Jordan
On 15.08.2010 14:30, Feng Su wrote: I compile a file to a assembly. I find the Guids of all classes is ----. How can generate the different Guids for these classes? You can manually apply a GuidAttribute to these classes, something like that: using System;

Re: [Mono-dev] reloading mono domain or assemblies

2010-08-13 Thread Robert Jordan
On 13.08.2010 15:10, marcus julius wrote: Did I make a mistake and/or is there a way to do this? Once an assembly has been JITed (which basically means that one of its methods was invoked), there is no way to change it. There are 2 ways to reload an assembly: 1) change its assembly name and

Re: [Mono-dev] reloading mono domain or assemblies

2010-08-13 Thread Robert Jordan
On 13.08.2010 15:39, marcus julius wrote: On 13.08.2010 15:10, marcus julius wrote: Did I make a mistake and/or is there a way to do this? There are 2 ways to reload an assembly: 2) Use app domains which can be unloaded together with their assemblies by design. Thanks for the quick reply.

Re: [Mono-dev] How to use the new RHEL_5 for CentOS 5.5

2010-08-12 Thread Robert Jordan
On 12.08.2010 14:44, xen wrote: Does mono embedding work with valgrind? when I valgrind the embedded exe, it reports massive errors. It does, but you need mono's valgrind suppression file: http://github.com/mono/mono/blob/master/data/mono.supp Robert

Re: [Mono-dev] Options needed for imported Linux libraries.

2010-08-12 Thread Robert Jordan
On 12.08.2010 16:49, Omar Siam wrote: What am I missing? How do I compile so libs to be mono friendly? Your post is missing a sample :) Post the p/invoke and structure defs of both sides (managed and unmanaged). Robert ___ Mono-devel-list mailing

Re: [Mono-list] Desktop Silverlight applicaition for Linux

2010-08-11 Thread Robert Jordan
On 11.08.2010 17:48, optimus_prime wrote: Previously, I got a suggestion -- Sure, Silverlight isn't intended for the desktop, but there's no reason why you can't embed a silverlight engine in your

Re: [Mono-dev] mono_jit_init fails when called from a Qt QThread

2010-08-10 Thread Robert Jordan
Hey, On 10.08.2010 22:00, Frank Fuchs wrote: Hi, I think I have a rather special problem here. I have a Qt C++ application with an embedded mono jit. Everything works nicely so far. However, I recently tried to start the Jit from a Qthread (in order to have an unblocked GUI during the C#

Re: [Mono-list] Segmentation Faults when trying to run OBD 2007.exe

2010-08-09 Thread Robert Jordan
On 09.08.2010 03:36, LEGOManiac wrote: Greetings. Mono needs a forum for us total newbies to post questions about applications to. This is a tough area because Mono is not an emulator. This means that applications must be sometimes ported to be able to run under Mono. Usually, only the

Re: [Mono-dev] mono-test-suite fails with pid/tid assert

2010-08-06 Thread Robert Jordan
On 06.08.2010 12:40, Alexander Stohr wrote: problem: right now i am using the daily snapshot of mono dated 2010-08-02 in a custom bitbake setup (made this work on my own) for cross compilation using this set of switches: EXTRA_OECONF_arm += --disable-mcs-build --with-mcs-docs=no

Re: [Mono-dev] How to use the new RHEL_5 for CentOS 5.5

2010-08-04 Thread Robert Jordan
On 04.08.2010 15:30, xen wrote: bump for mono 2.6.xx repo for CentOS 5 also is there a better way to do mono embedded then this? mono_thread_attach(monoDomain); gpointer monoReturns[4]; MonoString* locKey = mono_string_new (monoDomain, key); monoReturns [0] =locKey; monoReturns [1]

Re: [Mono-dev] How to use the new RHEL_5 for CentOS 5.5

2010-08-04 Thread Robert Jordan
On 04.08.2010 16:27, xen wrote: this is what I have in the C# public void onStatusChange(ref string key, double[] times, ref string status) { updateDaltaStatus(Helper.SecurityStatus, key, times, status); } however I do see a slow memleak when I run for a long time (I don't have this

Re: [Mono-dev] How to use the new RHEL_5 for CentOS 5.5

2010-08-04 Thread Robert Jordan
On 04.08.2010 18:29, xen wrote: The mem on my box will go from 13m to 15m This is not unusual given that you're allocating (at least) 40 million strings and 10 million arrays in a row. It's probably the usual heap fragmentation. Robert ___

Re: [Mono-dev] How to use the new RHEL_5 for CentOS 5.5

2010-08-04 Thread Robert Jordan
On 04.08.2010 19:55, xen wrote: On the mono embedding page it there is a new method mono_method_get_unmanaged_thunk, is there a sample for using this? http://github.com/mono/mono/blob/master/mono/metadata/object.c#L2708 Robert ___

Re: [Mono-list] Git link

2010-08-04 Thread Robert Jordan
On 04.08.2010 11:50, Jorge Bastos wrote: I’m sorry but I don’t see it!! Can you provide the link? Repository list: http://github.com/mono Mono tree: http://github.com/mono/mono You can get the git protocol links either from Github's UI or by simply replacing http: with

Re: [Mono-dev] ASP.NET MVC 3 Preview

2010-08-03 Thread Robert Jordan
On 03.08.2010 18:25, Tomi wrote: Hi folks, I wanted to try out preview version of ASP.NET MVC 3 on trunk version of mono, so I downloaded it from git (mono, xsp, mod_mono). Then I removed [MonoTODO] attribute on line 806 (IsFullyTrusted property) in Assembly.cs

Re: [Mono-dev] CodeDomProvider.CreateProvider fails on Windows

2010-08-02 Thread Robert Jordan
On 02.08.2010 12:13, Frank Fuchs wrote: No this does not seem to be the cause. Any further suggestions? I will try to assemble a test case. May be it's related to this thing here ( http://unity3d.com/unity/whats-new/unity-2.6 ... they mention a failing CreateProvider) Did you check whether

Re: [Mono-list] how to build class library in windows with VS.NET?

2010-08-01 Thread Robert Jordan
On 01.08.2010 20:43, 冶晶邓 wrote: hi, dear: i checked out the latest source form svn, and managed to build the mono runtime and mcs, with a lot of modifes to the mono/msvc05/mono.sln, including adding file , editing source code mono/msvc05/ is pretty much abandoned. The currently

Re: [Mono-aspnet-list] Centos: Mono ASP very slow

2010-07-31 Thread Robert Jordan
On 31.07.2010 23:23, Martijn Ve wrote: Hi All, I have a problem, maybe you can help me out. I have a low end mini pc, which will be shipped to customers as an blackbox. On it is running a service written in mono interacting with a database and some hardware. This program is running

Re: [Mono-winforms-list] dll_import Q

2010-07-30 Thread Robert Jordan
On 30.07.2010 14:47, pfj wrote: Hi, I have an application which currently uses the winmm.dll for playing mp3 files (it's a quick and dirty hack which will be replaced at some point by using gstreamer or something more cross platform). As expected, works fine under Win32 and falls flat dead

Re: [Mono-dev] Interop dlls - is this a bug?

2010-07-30 Thread Robert Jordan
See my response on the winforms list. You cannot p/invoke native Windows DLLs. On 30.07.2010 14:53, pfj wrote: Hi, To play video, I've been using the QuartzTypeLib dll from the COM under Win32. Works fine. Not cross platform, but works fine. The application compiles and generates a file

Re: [Mono-list] mod_mono and ASP.NET MVC website with .NET 4.0 features

2010-07-30 Thread Robert Jordan
On 30.07.2010 17:16, Tomi wrote: Hi folks, I'm trying to run ASP.NET MVC 3.0 web application which requires .NET 4.0 features on Apache with mod_mono. When I deploy the basic website on server and try to access it through browser I get the compilation error

Re: [Mono-list] mod_mono and ASP.NET MVC website with .NET 4.0 features

2010-07-30 Thread Robert Jordan
On 30.07.2010 17:59, Robert Jordan wrote: On 30.07.2010 17:16, Tomi wrote: You can change the runtime version with a mod_mono directive: MonoServerPath MONO-PREFIX/bin/mono-mono-server4 In your case: MonoServerPath /usr/local/bin/mono-mono-server4 Oops, it's mod-mono-server4. Sorry

Re: [Mono-list] mod_mono and ASP.NET MVC website with .NET 4.0 features

2010-07-30 Thread Robert Jordan
=yes or something like that? I used this configuration option only with mono. On 30 July 2010 18:14, Robert Jordanrobe...@gmx.net wrote: On 30.07.2010 17:59, Robert Jordan wrote: On 30.07.2010 17:16, Tomi wrote: You can change the runtime version with a mod_mono directive: MonoServerPath

Re: [Mono-dev] CodeDomProvider.CreateProvider fails on Windows

2010-07-29 Thread Robert Jordan
On 29.07.2010 09:25, Frank Fuchs wrote: Hi, I'd like to compile .cs files at runtime. Following the tip frome here http://lists.ximian.com/pipermail/mono-devel-list/2010-July/035505.html I'm able to do that on my Mac. On Windows (win 7 enterprise) however I do not manage to get it running.

Re: [Mono-dev] CodeDomProvider.CreateProvider fails on Windows

2010-07-29 Thread Robert Jordan
Hey, On 29.07.2010 18:52, Frank Fuchs wrote: Yes I did. otherwise the mono_jit_init wouldn't work, and I was not able to start the C# routines. Yeah, my bad. I believe the issue is more profane: Mono is trying to launch gmcs with bin/gmcs.bat, but the latter contains absolute paths set by

Re: [Mono-dev] Embedding Mono into C++

2010-07-24 Thread Robert Jordan
On 24.07.2010 15:11, Frank Fuchs wrote: On a related note is there a way to invoke the mcs compiler from within the code to compile some .cs file. Of course one could try to invoke mcs with a system call or ExecuteProcess but is there something more convenient? As far as I read about the

Re: [Mono-list] Mono on RHEL5

2010-07-23 Thread Robert Jordan
On 23.07.2010 14:42, Vladimir Giszpenc wrote: Hi, I installed mono core and libgdiplus0 2.6.7 on RHEL 5. I am trying to use http://www.mono-project.com/Parallel_Mono_Environments because mono gets installed to /opt/novell/mono. export MONO_GAC_PREFIX=/opt/novell/mono Did not work. I

Re: [Mono-dev] Detecting 4.0 Support

2010-07-21 Thread Robert Jordan
Hi Charlie, On 20.07.2010 21:43, Charlie Poole wrote: Hi All, How can I detect that Mono support for .NET 4.0 is available. Check whether $mono-prefix/lib/mono/4.0/mscorlib.dll exists. 1) If I'm already running under Mono $mono-prefix can be indirectly determined from

Re: [Mono-list] Creating a stand-alone linux executable

2010-07-20 Thread Robert Jordan
On 20.07.2010 16:39, Tim Martin wrote: Inner Exception Message: libMonoPosixHelper.so ... It's not obvious that this is due to a missing DLL, but I guess it probably is since it works fine on the other box. It's due to a missing native SO (libMonoPosixHelper.so). Mkbundle does not embed

Re: [Mono-winforms-list] mkbundle fail - error: glib.h: No such file or directory

2010-07-18 Thread Robert Jordan
On 18.07.2010 10:50, Student-7 wrote: Hi, my simple demo VB-application on OpenSuse 11.2 write error in step binary generating: ... /home/admin/LinuxTerminalDemo/LinuxTerminalDemo/bin/Debug/LinuxTerminalDemo.so -Wall temp.c `pkg-config --cflags --libs mono` temp.o In file included from

Re: [Mono-dev] Mono API: field type attributes

2010-07-15 Thread Robert Jordan
On 15.07.2010 16:55, David Yuste wrote: Hello, This is my first mail here. I'm David Yuste, I'm working in the gcc branch gcc4cli. The whole project also includes a GCC front-end for CLI, which uses the Mono parser. The front end interacts with Mono through the Mono API. The problem

Re: [Mono-dev] Visual Studio Projects Upgrade

2010-07-15 Thread Robert Jordan
On 15.07.2010 23:02, Daniel Morgan wrote: What if someone wants to create a GTK# App on Windows? Will this Gtk# app work with eglib instead of glib? It will work because EGLib does not interfere with GLib. Robert --- On Wed, 7/14/10, Jonathan Chambersjonc...@gmail.com wrote: From:

Re: [Mono-aspnet-list] Needing a little help to get started hosting WCF on Mono 2.6.4 with Apache

2010-07-14 Thread Robert Jordan
On 14.07.2010 05:34, Jan van der watt wrote: Hi, I've completed the calculator exampled of Getting Started with WCF guidehttp://msdn.microsoft.com/en-us/library/ms734712.aspxon MSDN and would now like to try this on Mono to benefit from the new binary serialisation of DataSets which is, to

Re: [Mono-aspnet-list] Needing a little help to get started hosting WCFon Mono 2.6.4 with Apache

2010-07-14 Thread Robert Jordan
Why are you hijacking this thread? You ARE able to use your service, at least for a few days. Maybe some script is periodically purging your /tmp/ folder... Robert On 14.07.2010 09:07, Andrus wrote: I posted same issue in July 7, 2010 in Mono-list list in topic for asmx file: Type

Re: [Mono-dev] Trying to compile test-invoke w/ VS 2008

2010-07-14 Thread Robert Jordan
On 14.07.2010 19:15, Chris Robison wrote: I'm trying to compile test-invoke in the Mono-2.6.4 branch. I've been able to resolve the includes problems (the project references a VSDependancies directory that doesn't seem to exist). It is now trying to find some static libraries that don't exist

Re: [Mono-dev] Trying to compile test-invoke w/ VS 2008

2010-07-14 Thread Robert Jordan
On 14.07.2010 19:49, Chris Robison wrote: At one point (I have no idea what I did) these errors just went away, but now they are back. Any suggestions? mono.lib is being generated correctly. Back up. The original projects don't expose these issues. Since you're build the eglib version of Mono,

Re: [Mono-dev] Registering internal calls at runtime

2010-07-13 Thread Robert Jordan
On 13.07.2010 21:17, Michel Boissé wrote: class Program { static void Main(string[] args) { Registrar.RegisterMethods(); Console.Write(InternallyImplementedClass.InternalMethod());

Re: [Mono-dev] Registering internal calls at runtime

2010-07-13 Thread Robert Jordan
On 13.07.2010 23:08, Robert Jordan wrote: On 13.07.2010 21:17, Michel Boissé wrote: class Program { static void Main(string[] args) { Registrar.RegisterMethods(); Console.Write

Re: [Mono-dev] Registering internal calls at runtime

2010-07-12 Thread Robert Jordan
On 12.07.2010 21:43, MBoisse wrote: Has there been any improvements regarding late registrations of internal methods at runtime using mono_add_internal_call? Would it make sense to load and register C functions in a dll from managed code, and only then have the assembly referring to them

Re: [Mono-list] Mono.Data.SqliteClient

2010-07-09 Thread Robert Jordan
On 09.07.2010 13:29, wyfrn wrote: Hi, i got some problems with the mono sqlite client. I read the instructions on http://www.mono-project.com/SQLite and with this informations i tried to connect to a sqlite3 database though the Mono.Data.SqliteClient Well, the assembly is called

Re: [Mono-dev] [PATCH] Extract mono_exception_get_message_string from mono_print_exception

2010-07-02 Thread Robert Jordan
Hi Michael, On 02.07.2010 21:13, Michael Hutchinson wrote: Implemented - new patch attached. +MonoString * +mono_object_to_string (MonoObject *obj, MonoObject **exc) +{ + MonoString *str; + MonoMethod *method; + MonoClass *klass; + + klass = obj-vtable-klass; +

Re: [Mono-dev] [PATCH] Extract mono_exception_get_message_string from mono_print_exception

2010-07-02 Thread Robert Jordan
On 02.07.2010 21:43, Robert Jordan wrote: method = mono_object_get_virtual_method (obj, method); This must be method = mono_object_get_virtual_method (obj, to_string); Robert ___ Mono-devel-list mailing list Mono-devel-list

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

2010-06-28 Thread Robert Jordan
On 28.06.2010 02:27, Guy Sherman wrote: I managed to compile a 64-bit version of the mono runtime, using Visual Studio 2008, and I am having a great time working out how to embed mono. However, I am using Visual Studio 2010 for my solution, and whenever I call free on a pointer allocated by

Re: [Mono-dev] Standard name for mcs

2010-06-28 Thread Robert Jordan
On 28.06.2010 11:13, Russell Wallace wrote: Sure, but it's not installed by default, even after installing the mono-devel package: a...@a-desktop:~$ mcs The program 'mcs' is currently not installed. You can install it by typing: sudo apt-get install mono-mcs I'm guessing this is because

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

2010-06-28 Thread Robert Jordan
On 28.06.2010 12:22, guysherman wrote: Hi Robert, Thanks for that, that helps a little, but I think I still need to free in one case, that is mono_string_to_utf16, I need to free the LPTSTR that I get back afterwards (the example in test-invoke does). Is this where I would call mono_free?

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