I have an MFC application that has been built using VC++ 6.0. It is a 'full server' executable. I import a COM dll into my VC++ project by using the following:
# import <COM_DLL> no_namespace no_implementation raw_interfaces_only named_guids
This creates the type library for the dll (with the name COM_DLL.tlh). The COM_DLL that I am importing has an interface. This (dual) interface is being exposed as a "struct __declspec " in the .tlh file. I want to implement this interface, as this is essentially for a callback.
I am new to the world of VC++ and don't know how to proceed ahead :( Searching over MSDN did not help much either - perhaps I am not searching for the right thing. I would highly appreciate if someone could give me some pointers on how to proceed ahead with implementing the interface.
Thanks,
Ankit