search for: marshalas

Displaying 4 results from an estimated 4 matches for "marshalas".

2010 Apr 09
1
Theora encoder directshow Filter configuration
Hi, I'am using the Xiph Theora Encoder directshow Filter in a csharp application. It works fine but I would like to modify the configuration, like the quality settings. I would like to know if there is a possibility to configure it programmatically without using the propertyPage dialog. Thanks a lot for your help Mathieu -------------- next part -------------- An HTML attachment was
2010 Apr 06
1
ITheoraEncodeSettings C# interop
My apologies if this is considered somewhat off-topic but I presume that this information may be may also be of use to others using these filters. Is there someone with a better understanding of COM than I have who can tell me where I'm going wrong with the following C# interface definition? I can set and recover a quality setting using this interface but not the isUsingQualityMode flag. Not
2006 Nov 27
1
R.DLL mapping by P/Invoke
...is static as R is mono-threaded. /// </summary> class RWrapper { #region <R.DLL interop signatures> //- DLL Management/Information [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string getDLLVersion(); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string get_R_HOME(); [DllImport("R....
2007 Oct 17
0
Using R.dll in .NET IPC
...static as R is mono-threaded. /// </summary> class RWrapper { #region <R.DLL interop signatures> //- DLL Management/Information [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string getDLLVersion(); [DllImport("R.DLL", /*CallingConvention = CallingConvention.Cdecl,*/ CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.LPStr)] static extern string get_R_HOME(); [DllImport("R....