Link to home
Start Free TrialLog in
Avatar of aslamshikoh1
aslamshikoh1

asked on

Can i inherit from an existing interface in the IDL

I have an interface IAction in my IDL file and another interface IRecorderListener.Can i do something like

[
    object,
      uuid(6138896D-DE0C-41AB-9DAE-3AD877205B2B),
      helpstring("IAction Interface"),
      dual,
      pointer_default(unique)
]
         interface IActionCtrl :IRecorderListenerCtrl
      {  
        )
I will be casting the IActionCtrl objects to the IRecorderListenerCtrl.The above code compiles ,but is it feasible to do.
I am porting a c# code to ..NET.
ASKER CERTIFIED SOLUTION
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial