开发者

How to build an interop with a COM class (written in delphi)

We hav开发者_运维技巧e a COM dll written in delphi in our bin folder that call 2 static dll in the system32 folder (also COM in delphi).

My question is, how can we transform that dll in delphi into an interop dll ? Or is there any better way to do this ?

Thanks !


.net consumes COM objects with ease. There's no need for interop, just import the type libraries and off you go!

MSDN has a comprehensive tutorial.


@David: I think that the import in dotNET is ultimately using InterOp. That said, as long as all the COM interface contracts are respected, a Delphi COM object is just like a C++, ATL object.

Andrea

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜