COM Instantiation Question
COM
1
Posts
1
Posters
2
Views
1
Watching
-
I know next to nothing about creating COM object, so I have the following questions: I need to implement a COM interface and I've read that I must first add ATL support to my MFC project, then add a simple ATL object. Then I can right-click the class in Class View and select "Implement Interface". 1. Does such an interface implementation need to be inside its own executable file? Or can it live inside my main EXE? 2. How do I instantiate the interface implementation and get a pointer to it?
The difficult we do right away... ...the impossible takes slightly longer.