using com dll resources in a vc++ application
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am working with COM dll resources. I have created a menu in a com dll and provided an interface with a method to return the handle to the menu. When I am trying to pass this handle(converting to int) to CSingleDocTemplate of InitInstance() and trying to run the application, I am getting "Failed to create empty document". My intention is to use the menu(resource) which is present in the com dll in my application. In order to achieve this, is this the correct way of proceeding or not? If yes, where am I doing wrong? If not, please suggest an alternative mechanism. Thanks in advance.
Taruni