Re: [Mono-winforms-list] EXTERNAL: Re: WebBrowser.Navigate throws NullReferenceException

2011-09-01 Thread Robert Jordan
On 01.09.2011 16:37, Burns, Eric wrote: Any thoughts? Read the answers to your post? ___ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Re: [Mono-dev] [mozroots]: Microsoft Office files can't be traced to a trusted root

2011-09-01 Thread Robert Jordan
On 01.09.2011 08:13, jaysonp wrote: Hi Robert, Any ideas on this? I have no idea why the AuthentiCode validation is failing on MS' own files, even if all certs in the path are installed in Mono's store. Files signed with certs not issued by MS do validate properly. You may want to file

Re: [Mono-list] Mono.Data.Sqlite on windows on mono.

2011-08-31 Thread Robert Jordan
On 31.08.2011 02:57, Daniel Hughes wrote: I have installed: mono 2.10.2 for windows monodevelop 2.4.2.1 for windows and set mono as the default runtime. However when I try and use Mono.Data.Sqlite I get the following exception: Unhandled Exception: System.DLLNotFoundException: sqlite3

Re: [Mono-list] newbie - understanding profiler data

2011-08-31 Thread Robert Jordan
On 31.08.2011 17:51, pjsmith wrote: Mono version is 2.4.4 and I'm running it under Ubuntu 10.4. I'm pretty sure that, with some dedication and patience, you may be able to find an even more older version of Mono than 2.4. This one is only 2 years old :) The profiler has been substantially

Re: [Mono-dev] [mozroots]: Microsoft Office files can't be traced to a trusted root

2011-08-29 Thread Robert Jordan
On 29.08.2011 07:57, jaysonp wrote: Hi All, In relation to a previous post of mine with subject [mono][chktrust]: signature can't be traced back to a trusted root!, I would just like to check if someone knows why the digital signatures of Microsoft Office files (i.e winword.exe,

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-26 Thread Robert Jordan
On 26.08.2011 02:07, jaysonp wrote: Hi Robert, Using the powershell script, as expected, I was able to export the certs. Thanks for this :) However, 3 follow-up questions: 1. I thought I need PKCS#7 instead of the .cer files to be added on Mono trust store. Will I have to

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-26 Thread Robert Jordan
On 26.08.2011 10:47, jaysonp wrote: Hi Robert, Thanks for the command. But it's not working. See snapshot below: http://mono.1490590.n4.nabble.com/file/n3770307/snapshot.jpg I thought you want to import the certs into a Unix machine. Do you need this for Mono under Windows?

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-26 Thread Robert Jordan
On 26.08.2011 11:23, jaysonp wrote: Yes Robert :) Adjust the first line of this PowerShell script to match your system's Mono installation path, then run it. $certmgr=c:\local\Mono\bin\certmgr.bat $target = $home\exported-certs [System.IO.Directory]::CreateDirectory($target) $certs = dir

Re: [Mono-list] Question on Compatibility

2011-08-26 Thread Robert Jordan
On 26.08.2011 15:58, Stapleton, Steven wrote: I am running Mono 2.10.2 on my machine (FreeBSD, I'm sticking to what is in the ports tree, so I'm not up to .5 yet), and I found something interesting: I have a project written in Visual Studio 2010, using the .NET 4.0 client framework. The

Re: [Mono-list] Question on Compatibility

2011-08-26 Thread Robert Jordan
On 26.08.2011 16:19, Stapleton, Steven wrote: I have a project written in Visual Studio 2010, using the .NET 4.0 client framework. The executable it produces does not run/open in Mono. I then open the project in MonoDevelop (2.4), keep the same runtime target, set up the command lines I

Re: [Mono-list] problem installing libgdiplus on amazon linux

2011-08-26 Thread Robert Jordan
On 26.08.2011 16:27, Arsen Zahray wrote: (glib-2.0= 2.2.3) were not met: No package 'glib-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables

Re: [Mono-list] Activating SGen Collector in embedded mono

2011-08-26 Thread Robert Jordan
On 26.08.2011 11:32, Elmar Haneke wrote: Im using embeded mono on windows platform. How can I activate the SGen collector or LLVM-code-generation for my application? There is no Windows port of these components. Robert ___ Mono-list maillist -

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-25 Thread Robert Jordan
On 25.08.2011 07:15, jaysonp wrote: Hi Robert, I apologize for the immediate follow-up, but do you have additional idea on how to proceed on this? See mozroots' man page for details. The tools comes with every Mono installation. Robert ___

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-25 Thread Robert Jordan
On 25.08.2011 12:48, jaysonp wrote: Thank you very much for the help Robert. :) Some files (with digital signatures) I checked now were found to be valid by chktrust. Though several can't be still traced to a trusted root. Namely, office files such as Winword.exe, Excel.exe, powerpt.exe...

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-24 Thread Robert Jordan
On 24.08.2011 08:15, jaysonp wrote: Hi all, I am trying to use chktrust to verify validity of the digital/counter signature of a file. Specifically, I used AcroRD32.exe, which's been signed by Adobe Systems, Incorporated and counter signed by verisign time stamping service. To add this

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-24 Thread Robert Jordan
On 24.08.2011 13:21, jaysonp wrote: Hi Robert, Thanks for the feedback. But would you be kind enough to show me how to the import? certmgr -importKey 1) Export both certs using Windows' property dialog of the executable. Choose PKCS#7 and indicate that you want the

Re: [Mono-dev] [mono][chktrust]: signature can't be traced back to a trusted root!

2011-08-24 Thread Robert Jordan
On 24.08.2011 13:48, jaysonp wrote: Hi Robert, Clarification: Robert Jordan wrote: 1) Export both certs using Windows' property dialog of the executable. Choose PKCS#7 and indicate that you want the roots as well. I am exporting via certmgr.msc

Re: [Mono-list] single instance (mutex)

2011-08-24 Thread Robert Jordan
On 24.08.2011 16:15, ingemar wrote: hi! my problem is that i want a single instance from my win forms application. it works without problem using mutex in windows, but unfortunately not with mono. i found a possible solution in that forum: http://go-mono.com/forums/#nabble-td1493856

Re: [Mono-list] Looking for Help on Debugging Mono Embedded on Windows

2011-08-24 Thread Robert Jordan
Hi, On 24.08.2011 19:22, Rodney Foley wrote: We are embedding mono within a Visual C++ app developed with Visual Studio, and have the prototype working. However we not able to debug into the Mono portion of the code. We have tried mixed mode debugging in Visual Studio but have not had any

Re: [Mono-list] Many processes end with the message Aborted (A bgebrochen)

2011-08-18 Thread Robert Jordan
On 18.08.2011 18:29, Yves Goergen wrote: Run your apps from a terminal and try to collect the full backtrace. If you can't run from a terminal, then redirect STDERR to a file. With backtrace you mean strace? That creates a 268 KiB file. Would it be useful for you? No, I mean the backtrace

Re: [Mono-list] Many processes end with the message Aborted (Abgebrochen)

2011-08-17 Thread Robert Jordan
On 17.08.2011 20:49, Yves Goergen wrote: Does anybody know a solution for this bug? What can I investigate further to support you finding it? Not really, because: Is that normal? It only happens with some programmes and only if they do certain things. As long as you don't mention what

Re: [Mono-list] Got a SIGABRT, what to do?

2011-08-16 Thread Robert Jordan
Hi, On 16.08.2011 11:52, Esben Laursen wrote: Thread 12 (Thread 0xb5aacb70 (LWP 14192)): #0 mono_arch_decompose_long_opts (cfg=0xa6701c8, long_ins=0xa66aaac) at mini-x86.c:6177 #1 0x0809f48c in mono_decompose_long_opts (cfg=0xa6701c8) at decompose.c:501 #2 0x08061360 in

Re: [Mono-winforms-list] Fixing WinForms csproj - Consts.cs?

2011-08-15 Thread Robert Jordan
On 15.08.2011 10:55, Stifu wrote: Hi guys, I'm trying to fix some broken csproj files in the Mono sources, and I'm not sure how to do it. I already did so locally, but the dirty way (referencing DLLs at certain locations, or adding extra cs files), and I'm trying to do it cleanly this time,

Re: [Mono-list] C# interoperation different behavior in Windows and L inux

2011-08-14 Thread Robert Jordan
On 14.08.2011 11:17, Ian Norton wrote: I'm not sure how well this is supposed to work, some bits of msdn suggest that loading the same assembly twice with different evidence should fail. Loading an assembly twice with the same evidence would suggest that they are identical. This does not

Re: [Mono-list] C# interoperation different behavior in Windows and Linux

2011-08-14 Thread Robert Jordan
Hi, On 12.08.2011 17:45, raincloud wrote: Hi, everyone ! I wrote a simple interoperation test that I ran in Windows 7/MS Visual Studio 2010 and Ubuntu 10.04/Mono C# 2.6.7.0. Strangely, the results were different. In Windows / MS C#: - The test loads a function from a DLL file. - Then it

Re: [Mono-list] Got a SIGABRT, what to do?

2011-08-12 Thread Robert Jordan
On 12.08.2011 15:34, Esben Laursen wrote: Hi Guys, I got this from my mono install, do any of you know that to do about it? ERROR:../../mono/io-layer/handles-private.h:362:_wapi_handle_share_release: assertion failed: (info-handle_refs 0) Stacktrace: ... Mono JIT compiler version 2.6.7

Re: [Mono-list] Creating new appdomain in mono embedding

2011-08-11 Thread Robert Jordan
On 11.08.2011 20:59, Salamat, Babak wrote: I have been trying to create a new appdomain in mono embedding, but I have not been successful. In fact, no matter what appdomain I create, on the C# side I get the same appdomain that is initially created by mono_jit_init. Here is what I do: 1.

Re: [Mono-list] Monitor: Pluse() and Wait() - alternative ?

2011-08-10 Thread Robert Jordan
On 09.08.2011 23:53, Jonathan Pryor wrote: On Aug 9, 2011, at 9:34 AM, mwessendorf wrote: However I need to ensure this runs on the PCL (Portable Class Library) and therefore the above implementation does not work, since Pluse() / Wait() aren't supported in PCL Where can I find a

Re: [Mono-dev] Debug mono ODBC ?

2011-08-09 Thread Robert Jordan
On 08.08.2011 21:51, quandary wrote: The only thing that is not self explaining is, that if mono requires libodbc.so, that is to say package unixodbc-dev, why is it not in the dependency list of mono, at least not on Ubuntu/Debian ? I have no idea how Debian is packaging System.Data, but it's

Re: [Mono-dev] Debug mono ODBC ?

2011-08-08 Thread Robert Jordan
On 06.08.2011 12:43, quandary wrote: I assume I now have to write a C test program and see what goes wrong. I suppose odbc32.dll maps to unixodbc-dev: /usr/lib/libodbc.so Is that right ? Or where can I see what odbc32.dll maps to ? Look at $mono-prefix/etc/mono/config. BTW, mdbtools was

Re: [Mono-aspnet-list] How can I consume a web service with javascript and jquery?

2011-08-05 Thread Robert Jordan
On 04.08.2011 22:35, LucaDev wrote: Hello everyone, sorry for my English I created a website with some aspx pages, for example, Default.aspx, and a web service called DataService.asmx. From the Default.aspx page I would like to call the web service using jquery. The problem is that I can

Re: [Mono-aspnet-list] How can I consume a web service with javascript and jquery?

2011-08-05 Thread Robert Jordan
Hi Luca, On 05.08.2011 11:54, LucaDev wrote: Hello Robert and thanks for the reply. Yes, the original project was created with visual studio and framework 2. The web service has very little code, I can rewrite the code using mono. You have an example of how to write a web service that I can

Re: [Mono-list] P/Invoke return MonoObject*

2011-08-05 Thread Robert Jordan
On 05.08.2011 05:54, Xavier Amado wrote: I'm currently experimenting with embedding mono into a C++ project. Most of the C++ portion of the code is in a C++ DLL, while the Application just links against this dll. I've been using P/Invoke to call stuff from the library and everything is working

Re: [Mono-dev] Non-TCP/IP socket access

2011-08-04 Thread Robert Jordan
Hi Andy, On 04.08.2011 12:58, Andy Hume wrote: -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Andy Hume Sent: 27 July 2011 22:47 To: 'Robert Jordan'; mono-devel-list@lists.ximian.com Subject: Re

Re: [Mono-list] Dictionary key'ed by Decimal works differently between Mono and .NET

2011-08-04 Thread Robert Jordan
On 04.08.2011 11:09, Mike Christensen wrote: I'm trying to get my unit tests to pass so I can try out my code on Mono, however I ran into some different behavior using the Dictionary class. I've written a stand-alone test case to illustrate the problem. http://pastie.org/2318806 The code

Re: [Mono-list] Dictionary key'ed by Decimal works differently between Mono and .NET

2011-08-04 Thread Robert Jordan
On 04.08.2011 12:14, Gareth Pearce wrote: Looks like you have a typo - that should be 0.5m assigned to a? Yes, thanks :) It turns out that Mono's Decimal.GetHashCode is buggy: using System; class Test { static void Main () { decimal a = 0.5m;

Re: [Mono-list] Developer Express on Linux

2011-08-02 Thread Robert Jordan
On 02.08.2011 09:55, Ian Norton wrote: It is generally a good idea to have classes dedicated to wrapping unmanaged calls, you can test which platform you are at runtime and call the right unmanaged function. Did you read the original post, or at least the subject? He is using custom

Re: [Mono-list] Developer Express on Linux

2011-08-02 Thread Robert Jordan
On 02.08.2011 09:50, Stifu wrote: Hi, By using Windows libraries, your application is naturally not portable. The best way to make your application portable is simply to stop using these libraries, and replace these calls with managed / portable equivalents. That said, it's funny MoMA didn't

Re: [Mono-list] MSMQ Example Does Not Work

2011-07-29 Thread Robert Jordan
On 29.07.2011 04:03, ricanz wrote: Hello. I'm trying to use Microsoft's MSMQ to send/receive messages on a queue. I tried running the example from http://www.mono-project.com/SystemMessaging, but I get Unhandled Exception: System.Messaging.MessageQueueException: Unable to connect to Queue at

Re: [Mono-list] Running several mono applications using the same DLLs at the same time

2011-07-27 Thread Robert Jordan
On 27.07.2011 01:20, ReneFFM wrote: Hello, i hvae two mono applications which i want to run at the same time. Both are running with root user. Beth will run without errors if only one of them is started. But if i try to run the 2nd one at the same time, ill get the following error: #

Re: [Mono-list] using namespace in C++ projects

2011-07-27 Thread Robert Jordan
On 26.07.2011 23:29, hessam wrote: Hi again, I just want to add I'm having the same C# and C++ projects in .Net under windows and using namepace works without any problem in C++ project. Mono does not provide a C++ compiler with managed extensions. Robert

Re: [Mono-list] Advantages to Using Mono

2011-07-27 Thread Robert Jordan
On 27.07.2011 11:04, Matthew Winter wrote: I considered using Nginx as a reverse-proxy to xsp4 or something similar but the use of xsp4 in production seems to be strongly advised against. Maybe this will be solved as other alternatives mature. We're running XSP instances with an uptime of

Re: [Mono-list] Mono project future?

2011-07-27 Thread Robert Jordan
On 27.07.2011 15:38, jcannonb wrote: Greetings... I was curious as to what the plans are for continuing to build and improve Mono on the non-mobile front. I see where Xaramin took MonoTouch and MonoDroid, but for other platforms like OS X, Linux, etc... what are the plans to continue moving

Re: [Mono-list] Advantages to Using Mono

2011-07-27 Thread Robert Jordan
On 25.07.2011 21:08, spamname5 wrote: ... We currently have a web farm consisting of linux servers running apache (and hosting some legacy products that can't get moved) and the shear cost of new hardware plus Microsoft license fees for those webservers is forcing us to search for another

Re: [Mono-list] System.DivideByZeroException in HashTable?

2011-07-26 Thread Robert Jordan
On 26.07.2011 05:01, Ben Pryor wrote: I sometimes get this exception (mono 2.8) - running fully bundled (exe + deps). It happens very rarely. 64 bit suse system. How is this exception possible? It's `impossible' from a managed standpoint. Looking at the stacktrace, the invoked ctor is

Re: [Mono-dev] Non-TCP/IP socket access

2011-07-25 Thread Robert Jordan
On 25.07.2011 15:24, Andy Hume wrote: Currently other socket types are blocked. This occurs because the mapping functions will return an error if asked to handle a different address family. For instance see convert_family at mono/metadata/socket-io.c[3], when given an unknown value will

Re: [Mono-dev] Mixed Mode Assemblies

2011-07-22 Thread Robert Jordan
On 22.07.2011 00:56, Ivo Smits wrote: Also, I think that eventually the 'reverse interop code' could be generated from an assembly file by using the Reflection framework. You could make the code generator a managed application. This is kinda obvious :) The same in C++ would be taking like 10

Re: [Mono-dev] Non-TCP/IP socket access

2011-07-22 Thread Robert Jordan
On 22.07.2011 13:08, Andy Hume wrote: Presumably I can't convert my fd to a wapi handle somehow... So is that plan not going to work? :-,( It won't work. The whole socket machinery assumes type AF_UNIX or AF_INET. If you set a fd of some other address family type, a lot of nasty things could

Re: [Mono-dev] Non-TCP/IP socket access

2011-07-22 Thread Robert Jordan
On 22.07.2011 15:00, Andy Hume wrote: From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Robert Jordan Sent: 22 July 2011 12:43 To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Non-TCP/IP socket access On 22.07.2011 13

Re: [Mono-dev] Non-TCP/IP socket access

2011-07-22 Thread Robert Jordan
On 22.07.2011 15:40, Robert Jordan wrote: On 22.07.2011 15:00, Andy Hume wrote: From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Robert Jordan Sent: 22 July 2011 12:43 To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev

Re: [Mono-list] Mono - mkbundle

2011-07-22 Thread Robert Jordan
On 22.07.2011 04:20, TDain wrote: Thanks for your reply. Sorry I don't understand though. I did not build using a non-default prefix, I've rebuilt again to check any warnings, and there were none emitted about this. Any other ideas? Well, /usr/local might be a non-default prefix in your

Re: [Mono-list] Problem with MySQL connection using ProviderFactory

2011-07-22 Thread Robert Jordan
On 22.07.2011 12:45, Vinod wrote: well I did notice the casing. I corrected it in the code too. I get the error message now in small letters -___- Maybe I was too sloppy in my post. The assembly file name *must* be MySql.Data.dll. How does your system.dataDbDbProviderFactories looks like?

Re: [Mono-list] Mono - mkbundle

2011-07-21 Thread Robert Jordan
On 21.07.2011 02:42, TDain wrote: Hi, I'm having a similar problem, 2 questions: I've been using MonoDevelop in Ubuntu, without any problems. Unfortunately I have to distribute to RHEL5, so have compiled mono from src, and have successfully compiled my app with gmcs. When trying to

Re: [Mono-dev] Mixed Mode Assemblies

2011-07-20 Thread Robert Jordan
Hi Tom! On 20.07.2011 18:02, Tom Spink wrote: Hi guys, Since it's only 3.5k tarred up, I've attached it to this email - I hope that's not too rude! Let me know what you think! And don't give me a hard time for some of the hacks ;) I'm quoting from the TODO: * Automate DLL_NAME to pull

Re: [Mono-dev] Mixed Mode Assemblies

2011-07-20 Thread Robert Jordan
Hi Tom! On 20.07.2011 23:41, Tom Spink wrote: * Rewrite each stub after first call to call the function pointer proper, and hence bypass the NULL test. Well, I went ahead and did it before I got your reply... Let me know what you think. It's most certainly non-portable, which is a /bad

Re: [Mono-list] Embedding Mono

2011-07-16 Thread Robert Jordan
On 16.07.2011 09:26, lodle wrote: Hey Guys, Trying to embed mono and have it all compiling but crashes when i try to run a simple program. Have tried both 2.10.2 and 2.7.6 and it still crashes. First-chance exception at 0x65b131d2 in MonoEmbed.exe: 0xC005: Access violation writing

Re: [Mono-aspnet-list] Multiple domains with XSP2 standalone

2011-07-10 Thread Robert Jordan
On 10.07.2011 13:28, flowdy wrote: Thanks for your fast reply Robert, though I don't like the answer :) I'm wondering about your statement Sorry, I was confusing domain with appdomain, which are totally different things :) From a comment of XSP's sources: // TODO: support vhosts in

Re: [Mono-dev] [Mono-list] Mono Project: Next Steps

2011-07-08 Thread Robert Jordan
On 08.07.2011 18:26, Andres G. Aragoneses wrote: I don't agree. Me neither. Also, just keep one step after another. I believe there is already enough action for the moment ;) But if someone is keen of begging Novell for a bugzilla DB dump... Feel free to try it. Robert On 07/08/2011 03:53

Re: [Mono-list] PDF viewer using .net under Linux

2011-07-08 Thread Robert Jordan
On 08.07.2011 17:31, bala.ral bala.ral wrote: Dear All, I creating one application for viewing pdf using .net for Windows and Linux platform, I am converting the pdf viewer using mono develop 2.4 on windows. It was working good. But it will not run on Linux using mono develop 2.4. It will

Re: [Mono-dev] Threads sleeping forever

2011-07-05 Thread Robert Jordan
On 05.07.2011 16:06, Darkiwi wrote: Hello, I have developped a WinForm test application in C# on Windows where it works fine. However, I'm trying to port it under Mac OS, almost everything is ok but I still have a major issue : sometimes, my threads go to sleep and never wake up...

Re: [Mono-dev] Mono's future

2011-07-01 Thread Robert Jordan
On 01.07.2011 12:01, ah hatem wrote: What is the current status of mono after the layoff of the entire mono team? How will that affect mono on the short and long terms? How much of the mono The former Novell employees are now focused on product development for mobile platforms and their

Re: [Mono-list] How to run program with arguments

2011-06-25 Thread Robert Jordan
On 25.06.2011 18:49, Maurício Girardi Schappo wrote: I have a program that receives input arguments: $ myProgram.exe -arg1 -arg2 -arg3 in Windows that works just fine. I want to run that through MONO in linux. How do I do that? $ mono myProgram.exe runs the program, but how do I pass the

Re: [Mono-list] How to run program with arguments

2011-06-25 Thread Robert Jordan
On 25.06.2011 18:57, Maurício Girardi Schappo wrote: Hello, Robert! That doesn't pass the arg1, etc to myProgram... At least, it's not passing in the cluster where I'm trying to run the program... Check whether mono is a script on these machines, and then assure that the line which invokes

Re: [Mono-dev] Test suite failures (Mono 2.10.2)

2011-06-23 Thread Robert Jordan
On 23.06.2011 21:05, Steve Bjorg wrote: Here's a thought: only accept code changes that pass all tests? Just saying... Here is a second thought: the build servers are down, QA is gone, RE is gone. Just saying... The errors below are solely caused by lack of infrastructure. - Steve

Re: [Mono-aspnet-list] Mvc3 Licensing

2011-06-22 Thread Robert Jordan
On 22.06.2011 20:16, David Schmitt wrote: Hi, Today I wanted to try MVC3 on mono, but the EULA of the MVC3 installer from http://www.asp.net/mvc forbids distributing any of the contained DLLs for running on a platform other than the Windows platform. In my reading, this means I might run

Re: [Mono-list] Mono can't find libMonoPosixHelper.so

2011-06-21 Thread Robert Jordan
Hi Harry, On 20.06.2011 22:01, Harry Wilkinson wrote: Thanks for the info Robert. When I read the details of the aforementioned bug, and saw the suggested workaround, I thought that meant the LD_LIBRARY_PATH solution was not the way it was designed to work. So, just to be perfectly clear,

Re: [Mono-list] Mono can't find libMonoPosixHelper.so

2011-06-20 Thread Robert Jordan
On 20.06.2011 12:55, Harry Wilkinson wrote: I am using Mono 2.10.2, built from source on an Ubuntu server (since Ubuntu don't provide packages), and installed with prefix /opt/mono-2.10/. I can see libMonoPosixHelper.so at /opt/mono-2.10/lib/libMonoPosixHelper.so. I found a similar-looking

Re: [Mono-list] How to read a JPG into a 2D array of colors?

2011-06-19 Thread Robert Jordan
On 19.06.2011 06:54, rygoody wrote: One more component of this issue of mine is that, the solution needs to work on iOS, PC, MAC and Android. I am assuming if I grab the system.drawing library from win mono, this will not work on iOS, correct? Or could I grab the system.drawing library from

Re: [Mono-list] Error Initialising the configuration system when creating TcpClient

2011-06-17 Thread Robert Jordan
On 17.06.2011 17:46, mcd40 wrote: I am trying to run a .net 4.0 application, written and compiled in VS 2010, on a linux machine which doesn't have mono installed. In order to do this I have set up a linux dev machine with mono 2.10.2 installed and I'm using mkbundle with the --static option

Re: [Mono-dev] System.Diagnostics.Process.Start() crashes when trying to allocate more than 255 processes

2011-06-13 Thread Robert Jordan
On 13.06.2011 16:10, fco...@libero.it wrote: Dear all, my linux application needs to start a big number (400) of processes. Each process is a mono application. I found the when trying to run more then 255 processes the runtime generates an exception. Mono version? Architecture?

Re: [Mono-dev] sdb-cli: Command Line Interface to the Soft Debugger

2011-06-13 Thread Robert Jordan
On 11.06.2011 13:57, Alex wrote: The driving force behind this project is being able to debug applications without relying on an IDE. MonoDevelop is a great IDE, but it's not always practical to use a full-blown IDE for debugging. The project sits here: https://github.com/XTZGZoReX/sdb-cli

Re: [Mono-dev] sdb-cli: Command Line Interface to the Soft Debugger

2011-06-13 Thread Robert Jordan
Alex, I forgot to mention that my remarks only concern the integration of sdb-cli into mono/mcs/tools/. Robert On 13.06.2011 17:47, Alex wrote: Hi, There are two reasons I chose to use Mono.Debugging: 1) Expression evaluation. 2) Nicer interface for VM events (all the socket stuff is

Re: [Mono-dev] Mono and ole32.dll

2011-06-09 Thread Robert Jordan
On 09.06.2011 10:43, cosmin.ciuraru wrote: I don't want to use Wine at all, not suited for a server application. Would http://linux.lsdev.sil.org/wiki/index.php/Libcom_usage_example be a possible workaround? Also dated back to 2007, it probably derived from this article:

Re: [Mono-dev] Mono/C# for Apache

2011-06-09 Thread Robert Jordan
On 09.06.2011 14:22, g...@novadsp.com wrote: An exploratory question. There is abandoned code in the Apache source tree which attempted to allow C# to be used to create Apache modules. One of the problems cited by the authors was the Boehm GC used in the Mono runtime, suggesting that the

Re: [Mono-dev] Mono/C# for Apache

2011-06-09 Thread Robert Jordan
On 09.06.2011 14:41, Robert Jordan wrote: On 09.06.2011 14:22, g...@novadsp.com wrote: An exploratory question. There is abandoned code in the Apache source tree which attempted to allow C# to be used to create Apache modules. One of the problems cited by the authors was the Boehm GC used

Re: [Mono-dev] Mono/C# for Apache

2011-06-09 Thread Robert Jordan
On 09.06.2011 15:34, g...@novadsp.com wrote: Okay, I've found them: http://haydn.sourceforge.net/ The issue with this code is: it's calling mono_jit_cleanup on every request. This is suboptimal, buggy and shouldn't be done. Hello Robert, excellent, thanks. Anything else malign that caught

Re: [Mono-list] Iterating through classes in assembly

2011-05-27 Thread Robert Jordan
On 27.05.2011 07:47, JarkkoL wrote: Hi, I'm looking for a C function in libmono to iterate through classes in an assembly, but after reading through bunch of headers, documentation and googling around, I couldn't find such a function. There's mono_class_from_name() but that requires you know

Re: [Mono-dev] XSP embedded webserver without gac install

2011-05-24 Thread Robert Jordan
On 24.05.2011 16:11, Quandary wrote: Hi, Question: I was able to use XSP2 + mono.webserver under Windows with .NET 2.0. To use it, however, I had to gacinstall the assembly (+Mono.Security). Is it possible to use this assembly without gacinstall ? (so that no admin rights are required when

Re: [Mono-list] Mono static library

2011-05-24 Thread Robert Jordan
On 24.05.2011 13:30, JarkkoL wrote: Btw, I'm NOT defining GC_INSIDE_DLL=1 because i'm using static library because of that GC_DllMain() isn't called, which in turn calls GC_init(). If I define GC_INSIDE_DLL then GC_thread_is_registered() returns 1 and the problem goes away. However GC_init()

Re: [Mono-list] Mono static library

2011-05-24 Thread Robert Jordan
On 24.05.2011 21:06, JarkkoL wrote: Robert Jordan wrote: Mono/Win32 cannot be linked statically because it relies on Boem GC to register threads, but Boem cannot register threads w/out GC_INSIDE_DLL and DllMain. I see, but instead of relying on GC_DllMain() could I explicitly call GC_new

Re: [Mono-list] Link against a DLL? (System.TypeLoadException)

2011-05-23 Thread Robert Jordan
On 23.05.2011 08:58, Doug wrote: I'm having some trouble compiling a DLL and linking against it. Should be trivial, so I must be doing something wrong; I keep getting the error: ** (./a.out:27535): WARNING **: The class HelloLib.Hello could not be loaded, used in a, Version=1.0.0.0,

Re: [Mono-list] embedding mono and returning GList

2011-05-22 Thread Robert Jordan
On 22.05.2011 15:05, Nils Andresen wrote: 2011/5/22 Miguel de Icazamig...@xamarin.com: What you are getting back is not a pointer to the C GList, but a pointer to the managed GList; What you need to do is return the unmanaged pointer that is wrapped by the C# GList, that would be the

Re: [Mono-list] embedding mono and returning GList

2011-05-22 Thread Robert Jordan
On 22.05.2011 19:52, Nils Andresen wrote: 2011/5/22 Robert Jordanrobe...@gmx.net: You must unbox the returned object. See mono_object_unbox(). Robert Yes, I tried that, too. The code looks like this: MonoObject *o = mono_runtime_invoke (method, instance, NULL,ex); GList *list = (GList

Re: [Mono-list] Help with embedded mono: mono_runtime_object_init

2011-05-17 Thread Robert Jordan
Hi Rod, On 17.05.2011 19:20, Rod wrote: // Instantiate a class in .NET land MonoImage * image = ::mono_assembly_get_image(assembly); MonoClass * klass = ::mono_class_from_name(image,EmbeddedMonoExampleAssembly,ExampleClass); MonoObject* instance =

Re: [Mono-list] Does Mono Ver. 2.4.4.0 support System.Numerics

2011-05-12 Thread Robert Jordan
On 12.05.2011 16:18, Mujahid Azam wrote: Hi, I am currently working on a *Windows Console App* in a* Windows ENV* using*VS2010 .Net 4.0 *, which needs to run on a Linux machine with *Mono Ver. 2.4.4.0*. I do not have permissions to install Mono on my desktop at work. *How can I find out if

Re: [Mono-list] Embedding Mono on Windows

2011-05-11 Thread Robert Jordan
On 11.05.2011 22:05, Rod wrote: We are presently evaluating mono embedded for use in one of our windows C++ projects. As it happens we are already building the mono tip on windows (using cygwin) and now trying to follow the mono embedded instructions listed here:

Re: [Mono-list] MVC hosting

2011-05-09 Thread Robert Jordan
On 09.05.2011 17:46, Doug wrote: Hrm.. this may be the core of my problem. On my server I only have mod-mono-server and mod-mono-server2; where did you get mod-mono-server4 from? It has been removed. mod-mono-server is actually mod-mono-server4. Robert

Re: [Mono-aspnet-list] Globalization still not working in Mono 2.10

2011-05-05 Thread Robert Jordan
On 05.05.2011 21:29, H . wrote: Hi Robert, thanks for the information. Yes, I am testing under Windows but I want to deploy my applications under Linux in the future. I have tested the following globalization fileEncoding=iso-8859-1 culture=de-DE uiCulture=de-DE/ section. This is what

Re: [Mono-dev] Cross-Appdomain remoting

2011-05-05 Thread Robert Jordan
Hi, On 05.05.2011 22:11, Michael Mudge wrote: I'm seeing strange behavior on our device - AppDomain A has launched AppDomain B, and wired the DomainUnloaded event. I'm seeing that RemotingServices.DisposeIdentity is being called after 5 minutes, and then when AppDomain B unloads itself and

Re: [Mono-aspnet-list] Globalization still not working in Mono 2.10

2011-05-04 Thread Robert Jordan
On 04.05.2011 20:12, H . wrote: Take a look at the tests I have done. I have extended the bug report. Yes, fileEncoding=iso-8859-1 fixed some of the problems. But why is No, there is definitely a problem. I have several working web applications that are currently running under .Net

Re: [Mono-list] get services list on Linux

2011-04-30 Thread Robert Jordan
On 30.04.2011 12:59, Tayfur Yilmaz wrote: Hİ Everyone I have a problem When I want to get a service list on Linux How I solve this problem I use System.Management package on Mono bu I don't know some spesific name Example Code for Windows Code ManagementClass mcServices=new

Re: [Mono-aspnet-list] Globalization still not working in Mono 2.10

2011-04-29 Thread Robert Jordan
On 28.04.2011 22:00, H . wrote: I am experimenting with Mono since Version 2.0. Ever since that time Mono corrupted all special characters inside .aspx pages. There are lot's of articles around different forums on the internet about this topic. But nobody knows a solution. I have created a bug

Re: [Mono-aspnet-list] Globalization still not working in Mono 2.10

2011-04-29 Thread Robert Jordan
On 29.04.2011 11:29, Robert Jordan wrote: On 28.04.2011 22:00, H . wrote: I am experimenting with Mono since Version 2.0. Ever since that time Mono corrupted all special characters inside .aspx pages. There are lot's of articles around different forums on the internet about this topic

Re: [Mono-list] How to fix obsolete warnings when building XSP for Win32?

2011-04-29 Thread Robert Jordan
On 29.04.2011 00:34, Rod wrote: Getting the below warnings during the autogen for XSP should I be concerned? No. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] What are the available configuration options to build XSP?

2011-04-29 Thread Robert Jordan
On 29.04.2011 00:25, Rod wrote: I have not been able to find the the configuration options for building XSP. For mono they are right in the readme, but XSP I couldn't find a file or a web page that lists them. ./autogen.sh ./configure --help Also the specific things I want to either turn off

Re: [Mono-list] Win32 Compile works but is incomplete, looking for whats missing

2011-04-26 Thread Robert Jordan
Hi Rod, On 26.04.2011 18:14, Rod wrote: I finally was able to get a Win32 compile to finish with help from Robert Jordan and this link: http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html Full thread is here: http://go-mono.com/forums/#nabble-td3471123 So now my new problem

Re: [Mono-list] Win32 Compile works but is incomplete, looking for whats missing

2011-04-26 Thread Robert Jordan
Hi Rod, On 26.04.2011 19:00, Rod wrote: Hi Robert, The compile error is from MonoDevelop 2.6 beta 2: Build failed. The specified executable is not a valid application for this OS platform. The .bat files are probably missing. These are generated by the installer. As for the missing

Re: [Mono-list] gunicode.c:234: error: `ENOTSUP' undeclared (first use in this function)

2011-04-25 Thread Robert Jordan
On 25.04.2011 07:51, Rod wrote: Hi Robert, I am now using the Officially supported steps provided on the Shana link you provided. This is a new clean install into a new directory of Cygwin following Shana instructions for what to install. I cannot get past the ./autogen.sh script which

Re: [Mono-winforms-list] Exception: System.EntryPointNotFoundExcept ion: SetScrollInfo

2011-04-24 Thread Robert Jordan
On 23.04.2011 20:09, FChristian wrote: Hello, when trying to run a Windows program on Ubuntu 10.10, I get the error message Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.EntryPointNotFoundException:

Re: [Mono-list] gunicode.c:234: error: `ENOTSUP' undeclared (first use in this function)

2011-04-24 Thread Robert Jordan
On 24.04.2011 20:31, Rod wrote: Now it seems worse, the make dies right away when making all in utils with: make[2]: *** No rule to make target `all'. Stop. Does a Makefile exist in this folder? If not, then autogen has failed because of... see below. I did a git pull and tried make,

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