Re: [Mono-dev] Marshalling a struct inside a struct

2008-12-16 Thread Justin Cherniak
. If you want to see an example of how this is put together, check out my bindings for ffmpeg, ffmpeg-sharp ( http://code.google.com/p/ffmpeg-sharp). Thanks, Justin Cherniak P.S. Did you know there is a managed ipod library, ipod-sharp ( http://download.banshee-project.org/ipod-sharp/) On Thu, Dec 11

Re: [Mono-dev] Marshalling a struct inside a struct

2008-12-16 Thread Justin Cherniak
-version; etc... On Tue, Dec 16, 2008 at 8:25 PM, Justin Cherniak compwiz...@gmail.comwrote: Dudemullet, You basically have 2 choices, the managed and the unmanaged way. If you want to keep everything safe, you can replace all the pointers inside the struct with IntPtrs so you would have: public

Re: [Mono-dev] Announcing Mono 2.2 Preview 2...

2008-12-05 Thread Justin Cherniak
I noticed that the windows installer still installs GTK# 2.10. Is there a reason that we are not packagine 2.12? Thanks, Justin On Fri, Dec 5, 2008 at 12:56 PM, Thomas Wiest [EMAIL PROTECTED] wrote: Hey Everyone, We've just released Mono 2.2 Preview 2 today! Please help us out by giving

Re: [Mono-dev] Mono 2.0 problem (is it me though?)

2008-08-29 Thread Justin Cherniak
Try putting a Console.ReadKey() at the end of the main class to keep the program from quitting and see what happens. Justin 2008/8/29 Paul [EMAIL PROTECTED] Hi, Try PlaySync() instead. If it still doesn't work, check if ALSA is correctly installed and working. That's helped, though it's

Re: [Mono-dev] Mono.Media for GSOC

2008-05-06 Thread Justin Cherniak
I'm just curious, does anyone know why nobody was selected for this project for GSOC? Even without the codec capabilities, it seemed like a very useful worthwile project, so I'm just curious why it wasn't selected? On another note, for at least the PCM audio portions, if someone would want to

Re: [Mono-dev] HOW WOULD BE THE CONVERSION OF THIS CODE IN MONO USING PINVOKE? I have problems in the structure.

2008-04-16 Thread Justin Cherniak
Jose, You posted to mono-list a few days ago and received a few responses. What was the problem? Are you getting some error? If I were to translate it, I would do the following: struct Request { [MarshalAs(UnmanagedType.LPStr)] public string CategoryID;

[Mono-dev] Mono.Media for GSOC

2008-03-26 Thread Justin Cherniak
and whatnot before I go ahead and write up my application. Thank you in advance, Justin Cherniak [EMAIL PROTECTED] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] Mono.Media for GSOC

2008-03-26 Thread Justin Cherniak
OpenAL and Directsound for my player. I was just curious if I could get a little input on my ideas and whatnot before I go ahead and write up my application. Thank you in advance, Justin Cherniak [EMAIL PROTECTED] ___ Mono-devel-list mailing list Mono-devel

[Mono-dev] Mono.Media for GSOC

2008-03-26 Thread Justin Cherniak
before I go ahead and write up my application. Thank you in advance, Justin Cherniak [EMAIL PROTECTED] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] Wrong return value for RegistryKey.ToString(): Reason? or Can I fix?

2008-02-25 Thread Justin Cherniak
the windows implementation would not. Attached is a (albeit small) patch to correct the issue. Thank you, Justin Cherniak Win32RegistryApi.ToString.patch Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http

Re: [Mono-dev] Mono 1.9.0 Preview 2 is out!!

2008-02-22 Thread Justin Cherniak
Hi, I we could get the changes committed in r96259, r96267, and r96268 for bug 361709 https://bugzilla.novell.com/show_bug.cgi?id=361709could be added to 1.9 as well. I've also posted a patch and testcase to the bug to fix some of the other outlyers if someone could look it over. Thanks, Justin

Re: [Mono-dev] Mono 1.9.0 Preview 2 is out!!

2008-02-22 Thread Justin Cherniak
Sorry, I wasn't sure if my message got sent to the list: Hi, I was wondering if we could get the changes committed in r96259, r96267, and r96268 for bug 361709 https://bugzilla.novell.com/show_bug.cgi?id=361709added to 1.9 as well. I've also posted a patch and testcase to the bug to fix some of

Re: [Mono-dev] Interprocess communication

2007-12-26 Thread Justin Cherniak
Unfortunately as far as I know there is no easy one off way to do this. That said, if you are communicating to an unmanaged process, I would assume it is a safe assumption to assume you are targeting a particular operating system. I can't help you much with *nix, but on windows, you have a number

Re: [Mono-dev] Interprocess communication

2007-12-26 Thread Justin Cherniak
. - Steve -- Steve G. Bjorg http://wiki.mindtouch.com http://wiki.opengarden.org On Dec 26, 2007, at 8:43 PM, Justin Cherniak wrote: Unfortunately as far as I know there is no easy one off way to do this. That said, if you are communicating to an unmanaged process, I would

[Mono-dev] Crash in ApplicationSettingsBase if property with SettingsSerializeAs.Xml is set to null

2007-12-14 Thread Justin Cherniak
on MS.NET without a problem). I filed this as Bug 348646https://bugzilla.novell.com/show_bug.cgi?id=348646but wanted to post it here also to alert everyone to it. Thanks again, Justin Cherniak using System; using System.Collections.Generic; using System.Configuration; class Program { static void

Re: [Mono-dev] Crash in ApplicationSettingsBase if property with SettingsSerializeAs.Xml is set to null

2007-12-14 Thread Justin Cherniak
To explain it better, as the test case demonstrates, I am not explicity setting the value the RandomList value to null, but rather just setting the other value and this causes the crash. Thanks, Justin Cherniak On Dec 14, 2007 2:04 AM, Justin Cherniak [EMAIL PROTECTED] wrote: Hello everyone