Re: [Mono-list] Mono XSP Compile error

2009-06-17 Thread Robert Jordan
PayableOnDeath wrote: I have been using ./configure --prefix=/opt/mono/ Then XSP must be configured like this: ./configure --prefix=/opt/mono --with-runtime=/opt/mono Otherwise it's detecting your incomplete mono in /usr. Robert Robert Jordan wrote: PayableOnDeath wrote: Hi

Re: [Mono-list] Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations exception

2009-06-16 Thread Robert Jordan
Andrus Moor wrote: How to get line numbers ? Assuming that mono can read the mdb file and it contains the correct information, you need to run mono with --debug, like mono --debug myapp.exe. Thank you. This is web applicaton. After Adding MonoDebug line numbers appear. If I delete mdb

Re: [Mono-list] Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations exception

2009-06-16 Thread Robert Jordan
Andrus Moor wrote: This is a harmless warning. You can get rid of it by removing /tmp/www-data-temp-aspnet-0 and starting over. This is not harmless: it stops web service execution. I have no rights to remove this directory in ISP server. You have the rights implicitly. Write a page or WS

Re: [Mono-list] DynamicInvoke calls causes exceptions

2009-06-16 Thread Robert Jordan
Andrus Moor wrote: How to create asmx web service which does not require runtime compilation in mono server? http://www.mono-project.com/Release_Notes_Mono_2.4#ASP.NET Robert ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-dev] Mono on Windows 98

2009-06-15 Thread Robert Jordan
D.R.W. wrote: O.k., this description is only semi-helpful. Firstly, the link to unimono doesn't work at all anymore. Seems like this FAQ wasn't updated for a long time. Fortunately, libunicows can be found on the net. The text in the FAX is addressed to porters and it's likely 5 years old. No

Re: [Mono-dev] run Windows Service with Mono on Windows?

2009-06-11 Thread Robert Jordan
Alexey Chernobaev wrote: Thank you for answer, Eric! Probably not as I understand. I've tried and got this: mono-service ControlService.exe mono-service does not run on Windows and there is no (released) Win32 pendant of mono-service. I wrote a *simple* Win32 service wrapper the other

Re: [Mono-dev] Extract MonoField

2009-06-10 Thread Robert Jordan
Joachim Ante wrote: Hi, I have this class on the C# side. class Test { Listint myValue; } From the embedding API I iterate through the list using mono_class_get_fields. When iterating through the Test class I need to call mono_object_new or something similar, so that the

Re: [Mono-dev] Extract MonoField

2009-06-10 Thread Robert Jordan
Robert Jordan wrote: This is the only way to instantiate generic types using the public embedding API. Same for generic methods. Sorry, scratch this. I've read ListT in place of Listint mono_object_new( mono_class_from_mono_type(mono_field_get_type(field)) should work just fine

Re: [Mono-list] Re moting from Mono to Windows freezes

2009-06-08 Thread Robert Jordan
Sire404 wrote: Thanks a lot! Perhaps a NotImplementedException or (if possible) a compiler error would be in order? No, since the change is *for MS.NET*. Mono does not care. Robert Jordan wrote: Change both RemotingConfiguration.Configure occurrences from

Re: [Mono-list] Re moting from Mono to Windows freezes

2009-06-07 Thread Robert Jordan
Hi, Sire404 wrote: Mono freezes on the line remoteData = new RemoteData() which tries to create the remote object. Change both RemotingConfiguration.Configure occurrences from RemotingConfiguration.Configure (, true) to RemotingConfiguration.Configure (, false) as mono does not

Re: [Mono-list] lifetime of objects allocated with mono_object_new/mono_runtime_object_init

2009-06-05 Thread Robert Jordan
ptr2009 wrote: hey all I have embedded mono in an Cocoa Application on Mac OS X. I was wondering how the life time management of CLR objects allocated with mono_object_new/mono_runtime_object_init is done ? I am seeing that objects seem to be collected by GC while the application

Re: [Mono-list] High concurrency http requests with WebClient

2009-06-05 Thread Robert Jordan
ledjon wrote: I've noticed something with mono (well, .net as well): If you write an app that create, say, 100 threads, and each thread fires off WebClient requests, they end up getting serialized and done in order instead of in parallel. This seriously hurts the scalability of any

Re: [Mono-list] High concurrency http requests with WebClient

2009-06-05 Thread Robert Jordan
anyways, because WebClient is not thread safe. Try to raise the thread pool and file a bug if you believe it is one, especially if the code is working on MS.NET but not on mono. Robert - Jon Robert Jordan wrote: ledjon wrote: I've noticed something with mono (well, .net as well): If you write

Re: [Mono-list] Web service cannot find assembly when placed to subfolder

2009-06-05 Thread Robert Jordan
Andrus Moor wrote: I have the following files hosted in apache + Mono 2.4 + Debian : ~/www/htdocs/demo/StockService.asmx ~/www/htdocs/demo/Bin/Myapp.Service.dll Try to rename Bin to bin. StockService.asmx contains: %@ WebService Language=C# Debug=True CodeBehind=MyApp.Service.dll

Re: [Mono-list] Web service cannot find assembly when placed to subfolder

2009-06-05 Thread Robert Jordan
Andrus Moor wrote: Robert, Thank you. ~/www/htdocs/demo/StockService.asmx ~/www/htdocs/demo/Bin/Myapp.Service.dll Try to rename Bin to bin. Rename does not help. If assembly is placed to root directory: www/htdocs/Bin/Myapp.Service.dll exception does not occur. So for strange

Re: [Mono-dev] [PATCH] FastCGI patch

2009-06-02 Thread Robert Jordan
Kornél Pál wrote: Hi, ChangeLog: autogen.sh, configure.in: Set eol style to Unix to fix cygwin build. Responder.cs (Process): Properly set status code when no application is found. Request.cs (ParseParameterData): Use a simple reverse scan of path components until the first existing

Re: [Mono-dev] [PATCH] FastCGI patch

2009-06-02 Thread Robert Jordan
Andreas Färber wrote: Am 02.06.2009 um 02:14 schrieb Kornél Pál: autogen.sh, configure.in: Set eol style to Unix to fix cygwin build. Can Cygwin no longer be configured to use either eol style? Although Cygwin's SVN defaults to LF, other SVN tools for Windows do not. When the working copy

Re: [Mono-dev] mkbundle, run on different platforms, compile with external compiler?

2009-05-29 Thread Robert Jordan
AndroidAdam wrote: Hi, if I used mkbundle to bundle a program in Linux, would that same bundled program run on Windows or Mac without the need to rebundle it? No, you have to bundle for each platform. Also, is it possible to have mkbundle not compile, but instead use an external compiler

Re: [Mono-list] ASP .net Session

2009-05-27 Thread Robert Jordan
rlejsza wrote: Hi, I've got question. Is it possible to change some asp .net setting that session will be kept (or not lost) after I've copy new files onto server. I'm asking because when application is running and someone is logged in and I copy exactly the same files to the server,

Re: [Mono-list] ASP .net Session

2009-05-27 Thread Robert Jordan
://anonsvn.mono-project.com/viewvc/trunk/xsp/tools/asp_state/ Radek Robert Jordan wrote: rlejsza wrote: Hi, I've got question. Is it possible to change some asp .net setting that session will be kept (or not lost) after I've copy new files onto server. I'm asking because when

Re: [Mono-list] Problem installing service

2009-05-24 Thread Robert Jordan
Derek Ekins wrote: Hi, I am trying to use installutil.exe to install my service. I am getting the following error and I am not sure what to make of it as I have apps on this server that are using the mentioned classes. Any help much appreciated!

Re: [Mono-dev] Problem with reference not refreshed or specific version binding

2009-05-22 Thread Robert Jordan
APS wrote: Anyone have a clue? Remove the wildcards from your AssemblyVersion attributes: [assembly: AssemblyVersion(1.0.0.0)] and only increment the version if the API really changed. Robert At 09.36 20/05/2009, APS wrote: Hi, I have a similar problem on a console application that use

Re: [Mono-dev] Problem with reference not refreshed or specific version binding

2009-05-22 Thread Robert Jordan
22/05/2009, Robert Jordan wrote: APS wrote: Anyone have a clue? Remove the wildcards from your AssemblyVersion attributes: [assembly: AssemblyVersion(1.0.0.0)] and only increment the version if the API really changed. Robert At 09.36 20/05/2009, APS wrote: Hi, I have a similar problem

Re: [Mono-list] Joining multicast groups with Socket

2009-05-22 Thread Robert Jordan
markohrastovec wrote: I am not sure if it is OK to work that way. I think joining multicast group should work with no default gateway too. It is true that multicast IP I was using is outside of the network (224.1.1.1) because all multicast adresses have reserved IP space out of any other

Re: [Mono-winforms-list] The assembly was not found

2009-05-21 Thread Robert Jordan
santiagpxp wrote: Hi Everybody I have this trouble when i run my project ** (FBSShell.exe:5865): WARNING **: The following assembly referenced from /home/santiagpxp/Escritorio/FBSShell/bin/Debug/Microsoft.Practices.CompositeUI.WinForms.dll could not be loaded: Assembly:

Re: [Mono-winforms-list] Unhandled Exception in LINUX

2009-05-21 Thread Robert Jordan
santiagpxp wrote: Hi everybody I have this problem when i run on linux rup...@linux:~ mono /home/rupert/Desktop/FBSShell/bin/Debug/FBSShell.exe Unhandled Exception: Microsoft.Practices.CompositeUI.Services.ModuleLoadException: Assembly file

Re: [Mono-dev] Resolving dependencies while compiling

2009-05-20 Thread Robert Jordan
paszczi wrote: Hi! I recently found very annoying thing about mono compiler. Let's say that we have the following file structure lib/X/X.dll lib/Y/Y.dll Where X.dll depends on Y.dll Now I try to compile project Z which references X.dll and Y.dll. While compiling, gmcs throws error that

Re: [Mono-list] System.XML bug in 2.4 ???

2009-05-19 Thread Robert Jordan
Mario De Clippeleir wrote: Hi, I was wondering if someone else has the same problem as me... I recently upgraded to Mono 2.4. but all of a sudden, i have problem when reading XML files using Xpath. There is also a difference between .NET and Mono. This is the problem code :

Re: [Mono-list] Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations exception

2009-05-19 Thread Robert Jordan
Hi Andrus, Andrus Moor wrote: Robert, It seems to be an io-layer issue. Try to run this test a few times in a row to see if you can reproduce the error: I added method to web service: [WebMethod] public void Test(ref UserCredentials header) If you have a shell account, try to run the

Re: [Mono-list] Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations exception

2009-05-18 Thread Robert Jordan
Andrus Moor wrote: I'm compiling C# scripts dynamically in asmx web service using http://www.csscript.net Every second csscript Compile() method call causes exception 0:0 Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations It's a FreeBSD error

Re: [Mono-list] Thread 802600 has exited with leftover thread-specific data after 4 destructor iterations exception

2009-05-18 Thread Robert Jordan
Hi Andrus, Andrus Moor wrote: If I call this web service repeatedly, sometimes it succeeds. So it certainly can compile scripts sometimes. Oops, I've understood this sentence Every second csscript Compile() method call causes exception as every second (like minutes) ;) It seems to be an

Re: [Mono-list] Embedding woes, Mono 2.4

2009-05-17 Thread Robert Jordan
Vitor Peres wrote: But then, to my utter puzzlement, I tried hardcoding the loading of the assembly in the scope it was supposed to be used, and invocation then worked perfectly. Mono has an over engineering detector that starts to corrupt memory nilly-wily :) Please show some source code.

Re: [Mono-list] TypeloadException in web service call in get_method_info

2009-05-17 Thread Robert Jordan
Andrus wrote: In 2.4 asmx web service call returns strange exception below. In ASP .NET same assemblies work OK. How to fix ? The type is probably marked with an attribute not available in Mono. http://www.mono-project.com/MoMA might help. Robert Andrus. Server Error in '/'

Re: [Mono-dev] Help with a hung build....

2009-05-15 Thread Robert Jordan
Randall Stewart wrote: All: I would appreciate a bit of advice if possible. I have now gotten the AIX port to pass the regressions and build up to the point where it hits the mcs/docs directory. In that directory it belches: gmake all-local gmake[1]: Entering directory

Re: [Mono-list] How to know at runtime if Mono or .NET is used?

2009-05-14 Thread Robert Jordan
Ferdinand Funke wrote: Hello list, simple question: Is there a possibility to find out at runtime if Mono or .NET is used? http://www.mono-project.com/FAQ:_Technical search for Mono.Runtime Robert ___ Mono-list maillist -

Re: [Mono-list] DllImport and mono

2009-05-14 Thread Robert Jordan
ptr2009 wrote: hey all I am trying out the pinvoke functionality in mono. I am using Mono 2.4 on vista. When I run the application natively ConsoleApplication.exe it works fine. But when I run against mono using mono ConsoleApplication.exe I get the following Exception

Re: [Mono-list] Mono.WebServer2 Problems

2009-05-12 Thread Robert Jordan
willisterman wrote: Are there any configuration options I am missing to get this to work? Does it work with Mono? Your stacktrace looks like one generated by MS.NET. Also, on a seperate note, I need to place the Mono.Webserver2.dll in the bin folder of any website used by the app, or it

Re: [Mono-aspnet-list] Apache Proxy vs mod_mono vs xsp2 problem

2009-05-09 Thread Robert Jordan
nickstaves wrote: Hello everyone! I have a big problem on my server and I trully speaking don't know who is guilt. I have an old site hosted by apache + mod_mono and it's woked fine. Now I discovered beautiful module for Apache which is proxy_module. With this module I can easily redirect

Re: [Mono-list] Build mono using monolite

2009-05-08 Thread Robert Jordan
Derek Ekins wrote: Hi, I am trying to install mono from svn on a fresh machine - no pre existing mono. I have checked out the source. Run ./autogen.sh and then try make get-monolite-latest to which I am told that no rule to make target exists. This means that you don't have a makefile at

Re: [Mono-list] mono:: Remote command Execution

2009-05-07 Thread Robert Jordan
Bhushand wrote: Thanks Robert How to retrieve the output this process. http://www.mono-project.com/Howto_PipeOutput and will this work with normal user account.? It depends on ssh's configuration of your systems. But usually it is working with all accounts. Robert

Re: [Mono-list] ASP code on Mono Project

2009-05-06 Thread Robert Jordan
uttamtakalkar wrote: Hello, I have ASP application and i want to run it on Linux, I searched for mono project option. Is it possible to run ASP code on mono project or it is only applicable for ASPX. Please send reply ASAP as i m stuck. I'm glad to unstuck you: Mono does not support

Re: [Mono-list] mono:: Remote command Execution

2009-05-06 Thread Robert Jordan
Bhushand wrote: Hello, I want to execute the linux command on remore machine using C# and mono. How can i achive this? using System.Diagnostics; .. Process.Start( new ProcessStartInfo( /usr/bin/ssh, u...@host -c 'the linux command' ) ); ;)

Re: [Mono-dev] Maybe an Error?

2009-05-04 Thread Robert Jordan
Friedrich Dominicus wrote: Could it be that there are Errors in GuiManager.cs and ThreadManager.cs? While trying to compile I got: Error 6 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

Re: [Mono-list] assembly bind tracking

2009-05-04 Thread Robert Jordan
fozzie wrote: Is there a way to track assembly binding in Mono? I tried fuslogvw, but it seems MS-specific. I have code in one appdomain which calls code in another.. i think i'm being careful but i want to make sure assemblies aren't getting loaded in the caller to resolve types (or for any

Re: [Mono-list] passing MonoArray from c#

2009-05-03 Thread Robert Jordan
fozzie wrote: Here is a set of tests to try to get a simple array of structs from managed to unmanaged code. No luck, but probably because of lack of expertise on my part. Can you help me to get them working? I think a delegate with ref parameter would be best, if possible.

Re: [Mono-list] passing MonoArray from c#

2009-05-03 Thread Robert Jordan
fozzie wrote: It runs the constructor for me on Windows Vista 32-bit, anyway. Perhaps it's different on the platform you are using. You're right. It's only needed when the ctor has arguments. Change this: link = (DataLink*)mono_array_get(retLinks, DataLink*, 0); to link =

Re: [Mono-list] passing MonoArray from c#

2009-05-03 Thread Robert Jordan
fozzie wrote: Thanks B-)! That cleans up the property/field/getStrings/getLinks tests nicely. Once i hit the MonoEmbed:LinksRefExample i'm in the rough again. Do you know if there is a way to pass an unmanaged pointer as a ref (or even out) argument to a managed method and get it filled

Re: [Mono-list] passing MonoArray from c#

2009-05-03 Thread Robert Jordan
Speaking of which, the moonlight code makes heavy use of delegates.. perhaps because of performance? I tried to use a delegate to get the link data, but the test I don't know much about moolight, but yes, mono_runtime_invoke is slower than a delegate call. retLinks =

Re: [Mono-list] passing MonoArray from c#

2009-05-03 Thread Robert Jordan
Robert Jordan wrote: // // Define a function pointer type for MonoEmbed:getLinks. // Notice the this argument and MonoException**. // Windows requires stdcall: typedef MonoArray* (__stdcall *GetLinksMethod)(MonoObject*, MonoException**); Robert

Re: [Mono-dev] Building mcs from source without mono

2009-05-02 Thread Robert Jordan
Joachim Ante wrote: Hi, I placed this in mcs/build/profiles. (I tried a couple different values for BOOTSTRAP_PROFILE, but can't figure out what it should be) You need a manually configured mcs/build/config.make which is usually generated by the build of the mono tree. Take one from a

Re: [Mono-list] passing MonoArray from c#

2009-05-02 Thread Robert Jordan
fozzie wrote: MonoArray *retLinks = (MonoArray *)mMonoClass-invoke(Pack, args); DataLink *link = (DataLink*)mono_array_get(retLinks, DataLink*, 0); Unfortunately the link is NULL. The memory pointed to by retLinks does not contain valid DataLink data. Since mMonoClass-invoke()

Re: [Mono-list] passing MonoArray from c#

2009-05-02 Thread Robert Jordan
fozzie wrote: mMonoClass-invoke() is just looking up the method name then calling mono_runtime_invoke(). Trace statements show that the Pack() method is receiving the parameters correctly and returns. It gets the correct return value for other c# methods, but they are returning scalars rather

Re: [Mono-list] passing MonoArray from c#

2009-05-01 Thread Robert Jordan
fozzie wrote: hi all.. I have a bag of floats/ints/strings that i would like to pass back from a c# method in response to a call from unmanaged c++. If tried returning an array of custom structs, but had an exception at runtime. Another exception occurs if i try to use an out parameter. Is

Re: [Mono-list] gdiplus.dll not found

2009-04-30 Thread Robert Jordan
Andrus wrote: mono-test-install requires bash. Is it installed on your system? I have limited account in this system. Tried bash bash: Command not found. /var/ports-src/shells/bash /var/ports-src/shells/bash: Permission denied. You were trying to execute a directory. How to test

Re: [Mono-dev] Off topic: Reflection and Licensing question

2009-04-29 Thread Robert Jordan
Ernesto wrote: I'm not trying to circumvent the GPL. Not that I can, either. I just want my app to be able to dinamically load a standard set of libraries, and call a generic set of methods. One of this libraries (MySQL Connector/NET) happens to be GPLd. As long as your application is

Re: [Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

2009-04-28 Thread Robert Jordan
Jonathan Pryor wrote: Perhaps I'm mis-reading that, but it implies to me that if NIS is configured properly getpwent(3) should actually return NIS entries, not return the '+:...' record from /etc/passwd directly. (Does anybody have NIS setup to see what getpwent(3) actually does?) On a well

Re: [Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

2009-04-27 Thread Robert Jordan
Jonathan Pryor wrote: So why do you have '+::' in your /etc/passwd to begin with? That's not a valid entry anyway (no user id)! It's for NIS. '+::' - include all users returned by the NIS passwd map. '-::' - allow only local users. '+robertj::' - include only 'robertj'

Re: [Mono-list] gdiplus.dll not found

2009-04-27 Thread Robert Jordan
Andrus wrote: mono-test-install And it will help you diagnose this problem ls -l /usr/local/bin/mono-test-install -r-xr-xr-x 1 root wheel 3667 Apr 9 23:45 /usr/local/bin/mono-test-install /usr/local/bin/mono-test-install /usr/local/bin/mono-test-install: Command not found. ls

Re: [Mono-list] HTTP file download

2009-04-25 Thread Robert Jordan
giancarlogiesa wrote: Hello, is possible with C# / Mono download a file from an HTTP server ? if yes, how ? WebClient wc = new WebClient(); byte[] content = wc.DownloadData(url); or wc.DownloadFile(url, fileName). Just look at WebClient docs. Robert

Re: [Mono-list] MarshalByRefObject

2009-04-25 Thread Robert Jordan
fozzie wrote: Hi all... I'm returning a MarshalByRefObject from c# to mono_runtime_invoke() - do I need to reference it via gc_handle_new()? MBRs are not different with respect to GC. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-dev] Mono's DateTime not implement same interfaces as .NET

2009-04-23 Thread Robert Jordan
Zacman wrote: I saw that one, but that's two different subjects. I'm not speaking about binary serialization or internal implementation, but about the public API that classes should expose. Today the public API of the DateTime class does not match .NET one (and bug 325067 is rather about how

Re: [Mono-dev] Mono's DateTime not implement same interfaces as .NET

2009-04-23 Thread Robert Jordan
Zacman wrote: Again I think there are two different issues: 1. the API that classes must follow 2. serialization The issue I point here is not related to how serialization works. It's a matter of if a program faces a CLR classes and the program's logic depend on the classes' declaration

Re: [Mono-dev] Mono's DateTime not implement same interfaces as .NET

2009-04-23 Thread Robert Jordan
Kriss Sonic wrote: Isn't that a dead-end policy, as 1. they are not that many existing Mono-based applications, 2. it could make people afraid of moving to Mono (with mistaken thought like they don't want to be compatible) and 3. it also means more and more .NET projects will be incompatible

Re: [Mono-dev] Mono's DateTime not implement same interfaces as .NET

2009-04-22 Thread Robert Jordan
Zacman wrote: Hi, MS .NET implementation of DateTime implements ISerializable, and not Mono. Is it a bug? I didn't find anything in the forum regarding it. Should I open a case in the bugtracker? https://bugzilla.novell.com/show_bug.cgi?id=325067 Robert

Re: [Mono-list] GAC question

2009-04-20 Thread Robert Jordan
. It's missing the eglib files, and some of the projects. Does someone know how i can get around this? Perhaps i just need to checkout the 2.4 source from SVN corresponding to the Mono 2.4 install for windows.. if so, is the revision available somewhere? Robert Jordan wrote: Hi, the crash

Re: [Mono-dev] [BUG] Unhandled Exception; object reference not set to an instance of an object....

2009-04-19 Thread Robert Jordan
NetSkay wrote: hello... im not sure if this is code error or not... i run mono 2.0 on ubuntu itrepid ibex from the repositories the following code is in C# and i wrote it in mono develop... when i compile and run the code from the IDE, i get the following error Unhandled Exception:

Re: [Mono-list] GAC question

2009-04-19 Thread Robert Jordan
Hi, the crash you've experienced can only happen if I18N.dll is corrupt Since this assembly is not vital, removing the GAC directory has no immediate influence on your app. That's why it seems to work when the GAC is missing. fozzie wrote: bump.. I'm trying to use a 3rd party dll from within a

Re: [Mono-dev] Mono 2.4 - glib requirement issues

2009-04-14 Thread Robert Jordan
John M wrote: Hi all, I would like to compile Mono 2.4 and run CC.NET on a redhat server. I currently have glib-1.2.10-15 installed and it appears that 2.4 requires glib 2.3.4. Is there anyway of using Mono 2.4 on a server with only glib-1.2.10-15? No. It may not be possible to get

Re: [Mono-dev] {kinda OT} Linux equivalent of Win32 ReadProcessMemory...

2009-04-13 Thread Robert Jordan
Mike Edenfield wrote: * Is there an easier way to do this that I'm missing? I briefly looked for a glibc function that was similar to ReadProcessMemory and came up empty. ptrace(2) Robert ___ Mono-devel-list mailing list

Re: [Mono-list] teste.exe - mscorlib.dll not found

2009-04-12 Thread Robert Jordan
fozzie wrote: I managed to get past this problem by calling mono_set_dirs(C:\\Mono-2.4\\lib\\, C:\\Mono-2.4\\etc); in accordance with the Embedding instructions at http://mono-project.com/Embedding_Mono. I assume this is the correct way to do it in a production environment. Are

Re: [Mono-list] teste.exe - mscorlib.dll not found

2009-04-12 Thread Robert Jordan
fozzie wrote: I also want to support windows.. can you tell me what directories these correspond to there? My advice was actually for Windows. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-dev] PPC builds for 2.4 using gcc 4.4

2009-04-10 Thread Robert Jordan
Paul wrote: Hi, We (the fedora people) are trying to trace why mono 2.4 is failing to build on ppc boxes and it's looking like it could be a gcc 4.4 problem or a gc-bohem problem. The Fedora BZ url is https://bugzilla.redhat.com/show_bug.cgi?id=494026 We really want to get mono-2.4

Re: [Mono-list] OnDeserialization problem

2009-04-10 Thread Robert Jordan
Chris Howie wrote: On Mon, Mar 23, 2009 at 12:35 PM, Dave Null eric.jacob...@gmail.com wrote: BTW... What is the preferred way to achieve this kind of stuff ? 1) using IDeserializationCallback interface and implementing OnDeserialization() method, as i've done above 2) or, simply using

Re: [Mono-dev] Performance problems on ARM/linux

2009-04-09 Thread Robert Jordan
Martin Fuzzey wrote: [I need --without-static_mono because the application accesses WaitForSingleObject etc - I can use the versions supplied by the iolayer via an assemble config file but it only works if both the mono runtime and the imported native DLL use the same code] It should be

Re: [Mono-list] make of mono-2.4 fails with lots of errormessages

2009-04-07 Thread Robert Jordan
thkerkmann wrote: Hi all, I just tried to make mono-2.4 from the sources. Before I installed libgdiplus successfully. Can anybody give me some hints - I'm not a linux geek. ... but a lot of errors occur when make-ing. marshal.c:12352: Warnung: kein vorheriger Prototyp für

Re: [Mono-list] FileSystemWatcher on Linux to monitor a remote NTFS share

2009-04-05 Thread Robert Jordan
colinjones wrote: I don't think there is any point trying to mount the remote share, or anything like that because the FileSystemWatcher class needs to parse the UNC path to get the remote machine name so that it can connect to the same functionality on the remote machine using COM

Re: [Mono-list] Using Mono with named pipes/fifo queues

2009-04-03 Thread Robert Jordan
weismat wrote: I would like to use Mono to write and read from a named pipe on Linux to exchange large amounts of data between programs. I have managed to write using File.Open and read using File.Read, but not the same time. Has anyone experience using FIFO queues with Mono and give me any

Re: [Mono-list] New to mono hello world compile question.

2009-04-03 Thread Robert Jordan
UndergroundChop wrote: Hello all and thank you in advance for your time. I have recently installed Fedora 10 and am working to get Mono up and running as well. I have compiled the hello mono world code on my xp home machine. with mcs hello.cs I ftp the .exe file over to the linux

Re: [Mono-list] ASP.NET MVC

2009-04-02 Thread Robert Jordan
Corbin Hoenes wrote: I am interested in running ASP.NET MVC applications on linux. I was under the impression that the ASP.NET MVC license prohibits me from doing it. I think this is still the verbiage: Platform Limitation - The Additional Use Rights extend only to the software or

Re: [Mono-list] FileSystemWatcher on Linux to monitor a remote NTFS share

2009-04-02 Thread Robert Jordan
colinjones wrote: I hve done some searching for this specific case, but cannot find any examples of people confirming this works. From the MSDN article http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx it says in the Remarks section that this class can be used to

Re: [Mono-dev] Embedded: storing extra data on objects?

2009-03-31 Thread Robert Jordan
David Mitchell wrote: When embedding mono, is there a way to store a little bit of extra information (pointer-sized) along with a MonoObject (or similar structure)? My scenario is that I have unmanaged wrappers for managed objects, and I¹d like to ensure that there is never more than one

Re: [Mono-list] GSoC Proposal: PL/Mono

2009-03-31 Thread Robert Jordan
Hi, Olexandr Melnyk wrote: - by specifying an assembly filename and a fully qualified function name: CREATE FUNCTION SUM(INT) RETURNS INT AS 'Library1.dll:Namespace2.Class3.Function4' Using some kind of assembly qualified name for the method would fit better in the .NET world: ...

Re: [Mono-list] Assertion when accessing C library

2009-03-29 Thread Robert Jordan
This is already fixed in SVN. Robert Ben Henderson wrote: I posted a question on this assertion a few days ago with no response. Not sure about your case, but I was trying to send a native function pointer into a native function via p/invoke. I was receiving the same assertion which looks

Re: [Mono-list] Mono Embedding in Visual Studio 2008

2009-03-29 Thread Robert Jordan
Yenian wrote: I'm attempting to embed Mono in a DirectX10 application under VS 2008 and Vista x64 for a school project. I have done the following things: 1) Installed Mono via the download link above. 2) Acquired the source from SVN and compiled the MSVC directories to obtain new versions

Re: [Mono-dev] Problem using Mono under Apache:

2009-03-27 Thread Robert Jordan
feffus wrote: Robert, thank you for your answer. we tried to follow your suggest lowering the number of connections to 100. the system returned this error: Maximum number (100 ) of concurrent mod_mono (we tried to set default value used by mono too, that is 20, but the system returned

Re: [Mono-dev] Problem using Mono under Apache:

2009-03-26 Thread Robert Jordan
feffus wrote: The problem is the following: When the site receives more than 50 simultaneous connections, it becomes unreachable even thought Apache seems to work. Do anyone know why? tnx I attach: - Apache server status when the service falls down - Apache configuration file Try to

Re: [Mono-list] Calling method with complex arguments (embedded)

2009-03-26 Thread Robert Jordan
Robert Bielik wrote: Robert Jordan skrev: Then invoke t.MakeGenericType (new Type [] {typeof (double[]) }) with mono_runtime_invoke to obtain the constricted type Opps, s/constricted/constructed/ (Listdouble[]). Ok, that's where I lost it, have no idea how to... :( Is there some

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

2009-03-25 Thread Robert Jordan
Easy_Rider wrote: Its defined: 0004ed30 T sqlite3_column_name 0004ed00 T sqlite3_column_name16 0004ebb0 T sqlite3_column_origin_name 0004eb80 T sqlite3_column_origin_name16 0004ec10 T sqlite3_column_table_name 0004ebe0 T sqlite3_column_table_name16 0004f650 T sqlite3_column_text

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

2009-03-25 Thread Robert Jordan
Easy_Rider wrote: Es sieht so aus, als ob ich zwei Version von libsqlite3.so auf meinem Rechner habe. Eine mit und eine ohne sqlite3_column_orgin_name Anscheinend war die frisch compilierte Version die falsche. Jedenfalls konnte jetzt die Datenbank geladen werden. Es gab noch einen

Re: [Mono-list] Calling method with complex arguments (embedded)

2009-03-25 Thread Robert Jordan
Robert Bielik wrote: I'm trying to call a function with prototype: void process(List double[] ins, ref Listdouble[] outs); from my c++ code, but I'm a bit stumped on how to create the arguments? Tried to retrieve the MonoClass* for System.Collections.Generic.List via

Re: [Mono-dev] Problem with google calendar authentication using embedded mono in app

2009-03-24 Thread Robert Jordan
Hi, Chenthill wrote: On Mon, 2009-03-23 at 21:15 +0100, Robert Jordan wrote: Chenthill wrote: I updated to the last mono builds using monocharge and still see the problem. Am loading the assembly from a library. So am not using mono_jit_exec.. You must use mono_jit_exec. Otherwise

Re: [Mono-dev] Mono Crash on accessing Log File

2009-03-24 Thread Robert Jordan
Easy_Rider wrote: I get the following Error when writing to a log file. I am sure that I am not accessing the file from another task! Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException --- System.IO.IOException: Sharing violation on path Remove

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

2009-03-24 Thread Robert Jordan
Easy_Rider wrote: I have just installed Mono 2.2, I had the same Error before with mono1.9.1. frmMain.OpenDatabase TestWrite1 frmMain.OpenDatabase Error inserting TestSymptom Application Error at 24.03.2009 19:26:11 gstatus: frmMain.OpenDatabase TestWrite1 Version: 0.6.3370.33773

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

2009-03-24 Thread Robert Jordan
Easy_Rider wrote: I am using Ubuntu 8.04 and I have installed libsqlite3-0 version 3.4.2-2 Execute nm -D on the .so and check whether sqlite3_column_origin_name is defined. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] 2.4RC3 build problems (and code problems with the build)

2009-03-23 Thread Robert Jordan
Paul wrote: Hi, Here is what the gcc docs says about this warning: -Wmissing-prototypes (C and Objective-C only) Warn if a global function is defined without a previous prototype declaration. This warning is issued even if the definition itself provides a

Re: [Mono-dev] Problem with google calendar authentication using embedded mono in app

2009-03-23 Thread Robert Jordan
Chenthill wrote: I updated to the last mono builds using monocharge and still see the problem. Am loading the assembly from a library. So am not using mono_jit_exec.. You must use mono_jit_exec. Otherwise the runtime does not have sane defaults for the main assembly, which leads to errors

Re: [Mono-dev] 2.4RC3 build problems (and code problems with the build)

2009-03-23 Thread Robert Jordan
Paul wrote: Hi, Fair enough for the prototypes, but not for the jay reduction problems... Jay's `reduction problems' are 5 years old... Then it's probably time they were fixed ;-) Patches welcome! ;) Robert ___ Mono-devel-list mailing list

Re: [Mono-dev] Problem with google calendar authentication using embedded mono in app

2009-03-22 Thread Robert Jordan
Chenthill wrote: Am trying to access the google calendar using the c# apis by embedding mono inside my application. I have imported the trusted certificates using mozroots tool and able to access the google calendar contents using a standalone mono program. But unable to access the same using

Re: [Mono-list] Dictionary`2 compatibility

2009-03-20 Thread Robert Jordan
zolof wrote: Thanks but I have found a better solution. The Dictionary is not binary compatible only when it has never been initialized (but not when null). In my sample code, I have replaced this.coll1 = new Dictionaryint, int(); with this.coll1 = new Dictionaryint, int(1); and

Re: [Mono-list] Limiting access in embedded mono

2009-03-20 Thread Robert Jordan
robiwan wrote: We're planning on using mono embedded in our application, however, since arbitrary users might write code for it we'd need to limit access to certain things, like FS IO, memory allocation and perhaps even network IO. Does mono have provision for limiting such stuff? Is it

<    5   6   7   8   9   10   11   12   13   14   >