Interfaces
-
I'm learning about COM in C++. I want to create a com dll which will have 2 interfaces. 1 public method in each. I then want to create a client to call a method on interface1, then use QueryInterface to return an interface pointer to interface2, so I can call the method on the second interface. Both interfaces will have the same method name & parameters. Where can I get sample code or tutorial to do this? Cheers.
-
I'm learning about COM in C++. I want to create a com dll which will have 2 interfaces. 1 public method in each. I then want to create a client to call a method on interface1, then use QueryInterface to return an interface pointer to interface2, so I can call the method on the second interface. Both interfaces will have the same method name & parameters. Where can I get sample code or tutorial to do this? Cheers.
You can find a great article on COM & interfaces at the Code Project. Go to the following link: http://www.codeproject.com/com/comintro.asp Bye..
-
I'm learning about COM in C++. I want to create a com dll which will have 2 interfaces. 1 public method in each. I then want to create a client to call a method on interface1, then use QueryInterface to return an interface pointer to interface2, so I can call the method on the second interface. Both interfaces will have the same method name & parameters. Where can I get sample code or tutorial to do this? Cheers.