开发者

Using COM Object in C++ [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Accessing COM interface from C or C++ i开发者_Go百科n Windows environment

Hi, I have C# COM obejct (registered by regenv) and i'd like to use it in C++. How can i do that? Thanks


COM is a very broad topic, with it own terminology, pitfalls, quirks and idioms. It might do no good to throw out a few lines of code that show you how to consume a COM object created via COM Interop here, especially since COM Interop is a magnitude better at hiding those peculiarities from you than using COM in C++ is.

Instead, I'd suggest you read the (infamous) book by Don Box about COM, called "Essential COM". Excerpts of it are available at Google Books, so you can get an idea of it's contents before possibly buying a copy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜