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
精彩评论