Re: Using a C# DLL with Delphi (v6)
- From: "Bob Swart (aka Dr.Bob)" <b.swart@xxxxxxxxx>
- Date: Thu, 25 Aug 2005 16:34:32 +0200
Hi jklimek,
So, I'm wondering how exactly I would get started with using a C# DLL.
C# produces .NET assemblies, which you can use in the Win32 world through a COM layer if you wish.
I have access to the C# DLL source and I'm assuming there will be a header file.
No, C# doesn't know about header files - no more HeadConv ;-)
Will I need to create a unit (.pas file) that simply defines all of the functions in the C# DLL?
No. See http://www.drbob42.com/examines/examin36.htm for an example to use C# .NET "DLLs" in Win32 as COM...
Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)-- Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner Delphi 2005 self-study training books: http://www.drbob42.com/training .
- Prev by Date: Re: !! Help !! Finding an open range within a range of numbers
- Next by Date: Re: OOP style
- Previous by thread: OOP style
- Next by thread: Newbie question about release, freeAndNil, etc
- Index(es):
Relevant Pages
|