Re: [Mono-dev] Embedding Mono

2011-03-10 Thread Robert Jordan
On 10.03.2011 08:26, vinay_rk wrote: I' am trying to Embed Mono with C/C++ and so far I've been able to compile and link my c++ project with the required Mono headers and lib. My code looks something like this: MonoDomain *domain; MonoAssembly *assembly; This will initialize the

Re: [Mono-dev] gtkhtml-sharp

2011-03-10 Thread Atsushi Eno
Isn't it now part of gnome-desktop-sharp? Atsushi Eno (2011/03/10 7:09), Paul Johnson wrote: Hi, Not sure why, but gtkhtml-sharp seems to be missing from gtk-sharp-2.12.10 Has it been moved elsewhere or is there a missed dependency somewhere that the config file is not picking up on?

Re: [Mono-dev] Embedding Mono

2011-03-10 Thread vinay_rk
Hi Robert, Thanks for the response. As per your suggestion I tried both v4.0.30319 and v2.0.50727 in the mono_jit_init call and used the MonoDomain created from this call to invoke mono_domain_assembly_open. The behavior is still the same. Also for your suggestion about mono_jit_exec, I will try

Re: [Mono-dev] Embedding Mono

2011-03-10 Thread Duane Wandless
As Robert indicated your call to mono_jit_exec is wrong. It expects at least 1 argument. It should be the assembly file name. Best of luck, Duane On Thu, Mar 10, 2011 at 5:24 AM, vinay_rk vinay.kash...@ironmountain.comwrote: Hi Robert, Thanks for the response. As per your suggestion I

Re: [Mono-dev] Embedding Mono

2011-03-10 Thread Duane Wandless
Sorry... read too fast. It might also be useful to indicate which version of Mono you are using and on what platform. This is the code that I use on OSX with Mono 2.6.7 and 2.8.2. Where sampleAssemblyPath is the full path to the EXE. MonoDomain *domain; domain = mono_jit_init

[Mono-dev] Named Pipes in Mono

2011-03-10 Thread Ondrej
Hello, I am trying to port my .Net application to Mono 2.6.4. The problem I am facing is, that I am not able to send data via the named pipe by using NamedPipeClientStream. If I write to the pipe from the .Net application, the message is received under Mono running service (using

Re: [Mono-dev] Embedding Mono

2011-03-10 Thread vinay_rk
Hi Duane, My Mono version is 2.8. And I have been trying this both on Windows XP and Mac OSX (Leopard and Snow Leopard). And the behavior is exactly the same mono_domain_assembly_open returning a null pointer. I' am totally stumped with trying to figure out what could be wrong with just these 2