[Mono-dev] mono-Interop with Native Libraries

2010-09-03 Thread marcus julius
Hi, I've just started reading about Interop with Native Libraries in C# and Mono, so before I started doing something I want to ask more experienced people as a last resort. I wanna send a managed class (which extends another class, has another class as a field and some methods) to unmanaged C

Re: [Mono-dev] weird wrapper crash using wrappers in mono..#1 0x0098e4d6 in nanosleep () from /lib/libpthread.so.0...blablabla

2010-09-03 Thread Euan MacInnes
interesting then that it's failing both on the av_registerdevice line and/or device.open. Sounds like they're both trying to open the same device and it's failing as it can't be opened twice. From: buhochil...@gmail.com To: euan_macin...@hotmail.com Subject: Re: [Mono-dev] weird wrapper crash u

Re: [Mono-dev] weird wrapper crash using wrappers in mono..#1 0x0098e4d6 in nanosleep () from /lib/libpthread.so.0...blablabla

2010-09-03 Thread Mauricio Henriquez
El 03-09-2010, a las 7:22, Euan MacInnes escribió: interesting then that it's failing both on the av_registerdevice line and/or device.open. Sounds like they're both trying to open the same device and it's failing as it can't be opened twice. Yeap, may be some USBish thing, since probab

Re: [Mono-dev] weird wrapper crash using wrappers in mono..#1 0x0098e4d6 in nanosleep () from /lib/libpthread.so.0...blablabla

2010-09-03 Thread Euan MacInnes
it depends on timing as well, are these in different threads in Mono? maybe need to single-threaded open the device once for ffmpeg, then again for phidgets. Play around with the start order as well, maybe one is keeping the device open and the other isn't, assuming the order of initialisation

Re: [Mono-dev] mono-Interop with Native Libraries

2010-09-03 Thread Rafael Teixeira
You can always try to "massage" (kind of parse) the struct as the default marshalling will pass to your native function, if you don't direct the process with attributes. It comes with all types of risks, and is complex, so I *strongly recommend that you don't go that way*. The highest risk is tha

[Mono-dev] Mail delivery Notifiaction

2010-09-03 Thread wanderer2019
Hello, im having a problem to send delivery notification message from .NET program.. Here is a peace of code that works fine from Windows: MailMessage oMailMessage = new MailMessage("From", "To", "Subject", "Body"); oMailMessage.DeliveryNotificationOptions =DeliveryNotificationOptions.OnFailure

Re: [Mono-dev] weird wrapper crash using wrappers in mono..#1 0x0098e4d6 in nanosleep () from /lib/libpthread.so.0...blablabla

2010-09-03 Thread buhochile...@gmail.com
On 09/03/2010 07:54 AM, Euan MacInnes wrote: > it depends on timing as well, are these in different threads in Mono? one single mono thread...just "main"... > maybe need to single-threaded open the device once for ffmpeg, then > again for phidgets. Play around with the start order as well, maybe >

[Mono-dev] patch 002: uninitalized ptr and var, fixed some warnings

2010-09-03 Thread Alexander Stohr
2010-09-03 Alexander Stohr * mono/dis/main.c: fixed uninitialized pointer problem * mono/mini/mini-codegen.c: fixed uninitialized variable problem * ikvm-native, libgc, mono, support: addressed most of warnings in c code -- GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 f