Results 1 to 4 of 4

Thread: [RESOLVED] how to call dll file in c#

  1. #1

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Resolved [RESOLVED] how to call dll file in c#

    hi ,
    how to call dll made from delphi?

    thanks,
    Popskie

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: how to call dll file in c#

    Depending on which version was used, Delphi can create COM libraries or .NET assemblies. Either way, you just need to add a reference to the DLL to your project just like you would for any other written in VB.NET, C# or whatever. Once a library is compiled your app doesn't care what language was used.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: how to call dll file in c#

    i dont succed to call my dll made by delphi 5. But i code again that dll using C# and its works. thanks for the reply jmcilhinney.

  4. #4
    Junior Member
    Join Date
    Jun 2005
    Posts
    20

    Re: [RESOLVED] how to call dll file in c#

    You might also want to look into reflection if you're going to be using dll's dynamically.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width