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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] 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: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
