COM usage issue
-
Hello, I wanted to communicate from one app (exe) to another app (exe) so I implemented COM interface in first application. There are only .idl and some auto generated files (xxx.h & xxx.c) in first app but I dont know how to use this interface in another application. Please guide.
-
Hello, I wanted to communicate from one app (exe) to another app (exe) so I implemented COM interface in first application. There are only .idl and some auto generated files (xxx.h & xxx.c) in first app but I dont know how to use this interface in another application. Please guide.
-
Thanks for link. Actually I am aware about the usage of COM but now problem is something different. How to use COM interface defined in my first application which is an executable. It does not produce any dll or lib. I need to give some reference to my second application to access same COM interface.
-
Thanks for link. Actually I am aware about the usage of COM but now problem is something different. How to use COM interface defined in my first application which is an executable. It does not produce any dll or lib. I need to give some reference to my second application to access same COM interface.
-
Thanks, Actually I got it. In my case it is .tlb file which I need to use to instantiate interface. Now one more problem came :) COCreateInstance() is returning REGDB_E_CLASSNOTREG Class not registered. Do I need to register tlb file like a com dll? If yes then how can do so?
-
Thanks, Actually I got it. In my case it is .tlb file which I need to use to instantiate interface. Now one more problem came :) COCreateInstance() is returning REGDB_E_CLASSNOTREG Class not registered. Do I need to register tlb file like a com dll? If yes then how can do so?