Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2007

Tip: Looking for answers? Try searching our database.

C# DLL in Delphi

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Iwan Budihalim - 29 Nov 2007 12:11 GMT
is it anyway to call C# DLL (manage) with Delphi ?

Thanks
Jon Skeet [C# MVP] - 29 Nov 2007 12:12 GMT
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
Iwan Budihalim - 30 Nov 2007 16:53 GMT
Hi there,
I'm using Delphi 6.0 which is not .NET version.

> On Nov 29, 12:11 pm, "Iwan Budihalim" <iwan_budiha...@visuallabs.net>
> wrote:
[quoted text clipped - 5 lines]
>
> Jon
Kerem Gümrükcü - 29 Nov 2007 12:15 GMT
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

Signature

-----------------------
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."

Iwan Budihalim - 30 Nov 2007 16:53 GMT
Does it mean, we have to Register Server (regsvr32) the DLL COM ?
any example or tutorial to do this ?

many thanks

> Hi Iwan,
>
[quoted text clipped - 6 lines]
>
> Kerem
Willy Denoyette [MVP] - 30 Nov 2007 19:01 GMT
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.