Board index » cppbuilder » Importing derived interfaces
Simon Gibb
CBuilder Developer |
Sun, 23 Dec 2001 03:00:00 GMT
Importing derived interfaces
Hi
I have a BCB4 application which uses COM objects in an MSVC ATL dll. One of eg: MyInterface2 inherits from MyInterface, and so has all the properties and I have imported the type library into BCB4, and attempted to use the TCOMIMyInterface x; .. Even though IMyInterface2 inherits from IMyInterface, the wrapper class I have coded around this by using the IMyInterface2Disp class, which seems IMyInterface2Disp x; Is this the correct way to achieve this, or ... Thanks in advance Simon |