[DUG] Importing .net dll to Delphi 6 loses information
sinu sudhakaran
sinusudhakaran at rediffmail.com
Mon Mar 21 10:32:56 NZDT 2011
Hi All,
I have a .net dll which I could import to Delphi 6. But it loses some information.
I have a demo application in VB.net to use this dll which shows 2 interfaces called
IRedeemTransactionItemBundle and ITransactionItemBundle. In visual studio 2008, I could see , ITransactionItemBundle
Is the base type of IRedeemTransactionItemBundle. So when I decare a variable of type IRedeemTransactionItemBundle,
I could access all properties of both interfaces. But when I import the dll to Delphi 6, I could see
both IRedeemTransactionItemBundle and ITransactionItemBundle declaration part. But there is no information shows
ITransactionItemBundle is the base type of IRedeemTransactionItemBundle. Also when I declare a variable of type
IRedeemTransactionItemBundle in Delphi, I am not able to access properties of ITransactionItemBundle [the base type].
When I tried to register tpe library in tlb editor by setting the base type of IRedeemTransactionItemBundle to
ITransactionItemBundle, I am getting the error “Parent Interface already has a member with id:1610743808”.
I have attached the screenshot. I could see properties of both interfaces have same ID in the tlb editor.
I tried to import the same dll using Delphi 7 also. But no help.
Is that a problem with Delphi ? Have any of you experienced such a problem in importing kindly give me some thoughts.
Any help is appreciated.
Thank you,
Kind Regards
Sinu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110320/da2b61e3/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Delphi_6_Error.jpg
Type: image/jpeg
Size: 205972 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20110320/da2b61e3/attachment-0001.jpg
More information about the Delphi
mailing list