Elecard
May 19, 2013, 02:20:20 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Interface definitions from IDL  (Read 1493 times)
mbtm
Newbie
*
Posts: 2


View Profile
« on: March 09, 2010, 03:33:44 am »

I've bought the .NET SDK and was hoping to find interfaces defined i C#, like this:
Code:
[ComImport, System.Security.SuppressUnmanagedCodeSecurity, Guid("486F726E-4D43-49b9-8A0C-C22A2B0524E8"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IModuleConfig
{
 ....
}
Unfortunately, there's no such thing.

Since we already have an existing framework to work with DirectShow, we can't start using your framework in order to get ModuleConfig from filters.
I don't know much about IDL, is it possible to generate interface definitions like above using MIDL?
I saw another post in the forum where a user had written the interface definitions by hand, but unfortunately they don't work. I get access violations when calling functions, so the signatures probably don't match.
Without IModuleConfig, we can't activate the filters. And configuration would have to be made using the property pages, which I would like to avoid.
Any help is appreciated.
Logged
IrinaM
Moderator
*****
Posts: 138


View Profile
« Reply #1 on: March 09, 2010, 07:29:13 pm »

Hello mbtm,
Please send a request to our Technical Support, and our engineers will provide a solution.
Logged
mbtm
Newbie
*
Posts: 2


View Profile
« Reply #2 on: March 10, 2010, 12:09:42 am »

Thanks for the reply Irina. Elecard Technical Support helped me out.
« Last Edit: March 10, 2010, 06:09:36 pm by IrinaM » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!