We currently do this using the Com method, but it is a pain managing
different versions of the dll.

I looked into Unregistered COM but I couldn't get it to work for .Net
assemblies. Do you know if it is possible to use Unregistered COM with
.Net Assemblies from Delphi Win32 (Delphi 6).

I am taking a look at Manager VCL.

Thanks

Stacey

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Myles Penlington
Sent: Wednesday, 15 October 2008 14:51
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: [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: delphi@delphi.org.nz
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: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject:
unsubscribe

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to