4

I have an in-process COM server (i.e. 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

1 Answer 1

6

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks Francis. Also, I just came across this article at: codeproject.com/KB/COM/com_in_c1.aspx which has help me get rolling.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.