PC Review


Reply
Thread Tools Rate Thread

C# DLL in Delphi

 
 
Iwan Budihalim
Guest
Posts: n/a
 
      29th Nov 2007
is it anyway to call C# DLL (manage) with Delphi ?

Thanks


 
Reply With Quote
 
 
 
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      29th Nov 2007
On Nov 29, 12:11 pm, "Iwan Budihalim" <iwan_budiha...@visuallabs.net>
wrote:
> is it anyway to call C# DLL (manage) with Delphi ?


If you're using the .NET version of Delphi, you should be able to call
into a C# DLL in the same way as you'd call into any other managed
library (System.dll, mscorlib.dll etc)

Jon
 
Reply With Quote
 
Kerem Gümrükcü
Guest
Posts: n/a
 
      29th Nov 2007
Hi Iwan,

>is it anyway to call C# DLL (manage) with Delphi ?


yes, make the DLL COM Visible and your Delphi App
can invoke its methods with COM Interaction,...


Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."


 
Reply With Quote
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      30th Nov 2007
"Iwan Budihalim" <(E-Mail Removed)> wrote in message
news:%23qn$(E-Mail Removed)...
> Does it mean, we have to Register Server (regsvr32) the DLL COM ?
> any example or tutorial to do this ?
>


Please read the docs, MSDN has everything you need to know about COM
Interop, start here :
http://msdn2.microsoft.com/en-us/library/aa645712(VS.71).aspx and here:
<http://msdn2.microsoft.com/en-us/library/bd9cdfyx(vs.71).aspx>

Willy.

 
Reply With Quote
 
Iwan Budihalim
Guest
Posts: n/a
 
      1st Dec 2007
Hi there,
I'm using Delphi 6.0 which is not .NET version.

"Jon Skeet [C# MVP]" <(E-Mail Removed)> wrote in message
news:0d28605f-0eec-4b24-bf13-(E-Mail Removed)...
> On Nov 29, 12:11 pm, "Iwan Budihalim" <iwan_budiha...@visuallabs.net>
> wrote:
>> is it anyway to call C# DLL (manage) with Delphi ?

>
> If you're using the .NET version of Delphi, you should be able to call
> into a C# DLL in the same way as you'd call into any other managed
> library (System.dll, mscorlib.dll etc)
>
> Jon



 
Reply With Quote
 
Iwan Budihalim
Guest
Posts: n/a
 
      1st Dec 2007
Does it mean, we have to Register Server (regsvr32) the DLL COM ?
any example or tutorial to do this ?

many thanks

"Kerem Gümrükcü" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Iwan,
>
>>is it anyway to call C# DLL (manage) with Delphi ?

>
> yes, make the DLL COM Visible and your Delphi App
> can invoke its methods with COM Interaction,...
>
>
> Regards
>
> Kerem
>
> --
> -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü
> Microsoft Live Space: http://kerem-g.spaces.live.com/
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
> "This reply is provided as is, without warranty express or implied."
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
From Delphi to VB Henry Microsoft VB .NET 3 14th Jun 2006 08:05 PM
Delphi 7 did it to me! :( GregBerg Microsoft Access External Data 0 9th Apr 2004 08:57 AM
VB or Delphi Me Microsoft Access 2 28th Feb 2004 11:41 PM
Using .NET dll in Delphi Tim Bird Microsoft Dot NET Framework 3 11th Feb 2004 02:03 PM
Delphi BS Windows XP Internet Explorer 10 10th Dec 2003 05:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:31 AM.