I have an in-process COM server (ie DLL) I'd like to use from a C++ application that's to be compiled with the MinGW suite (using CodeLite IDE). I don't quite know where to start, any tips, suggestions or sample code anyone?
Cheers, Matt
Just like a normal COM, you need to get its header files for the structure of COM Class and the CLSID, then
CoCreateInstance(CLSID, ..., ppv)
ppv->YourComAPI1(arg1);
Nothing different as developing under VC.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.