[DUG] Call C# code from Delphi 7
Leigh Wanstead
leighw at softtech.co.nz
Wed Oct 15 16:46:34 NZDT 2008
Hi Myles,
Thanks for the information.
Have a nice day
Regards
Leigh
-----Original Message-----
From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz]On Behalf Of Myles Penlington
Sent: Wednesday, 15 October 2008 2:51 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Call C# code from Delphi 7
There are two methods in your case.
1. Have the C# objects declare itself as a COM object. You then register
them using regasm.
2. http://www.managed-vcl.com/
You are supposed to be able to host a .NET object directly in D2006.
Does not appear to work in D2007. But that will not work in D7.
Myles.
-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Leigh Wanstead
Sent: Wednesday, 15 October 2008 2:41 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Call C# code from Delphi 7
Good afternoon,
May I ask how to write Delphi code in Delphi 7 to call C# dot net
assembly
code i.e. dll/exe?
TIA
Regards
Leigh
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
Attention:
This communication is confidential and may be legally privileged. If you
are not the intended recipient, please do not use, disclose, copy or
distribute it, other than to return it to us with your confirmation that it
has been deleted from your system.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
More information about the Delphi
mailing list