Reputation: 439
We have 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 !
Upvotes: 2
Views: 466
Reputation: 519
@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
Upvotes: 2
Reputation: 612794
.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.
Upvotes: 2