Hi,
I am new to C++ and COM.
I need to implement a client application in C(lab windows CVI), server is a c++ COM object.
steps followed by me
> accessed the registered COM object with Labwindows CVI active x controller template, output was a c file which is an implementation of the class names in COM (interfaces).
I can use the majority of the functions directly from the generated, but I need to implement some event functions, like message box events, and then use them.
I have seen one method of accessing in C++ client sample which implements Queryinterface function, takes the IID_Unknown as input and returns interface pointer(inhereted static_castof the required class, uses static_cast for that) as output.
When I try to follow up the same in c, I am lost with the inheritance concept.
In short I need to send IID Unknown to the Queryinterface function and should get the interface pointer of message box type or other class type ...
Sorry for the long mail,Please guide me
Thanks in advance:thumbsup:,
Satish