Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Using DLL library in application

Using DLL library in application

Scheduled Pinned Locked Moved C#
questioncsharpdelphi
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wienzzz
    wrote on last edited by
    #1

    Hai, I have a DLL that created using Delphi. My question is : 1. Can I use that DLL in my C# application? 2. If I can use that DLL, how can I determine the function inside the DLL and th parameters needed for the callback? P.S : no techincal information or documentation available about the DLL. thankz

    Newbie.. Newbie.. Newbie.. Newbie.. Newbie..

    M 1 Reply Last reply
    0
    • W wienzzz

      Hai, I have a DLL that created using Delphi. My question is : 1. Can I use that DLL in my C# application? 2. If I can use that DLL, how can I determine the function inside the DLL and th parameters needed for the callback? P.S : no techincal information or documentation available about the DLL. thankz

      Newbie.. Newbie.. Newbie.. Newbie.. Newbie..

      M Offline
      M Offline
      mav northwind
      wrote on last edited by
      #2

      Hi! Probably you can use functions from the DLL in your C# app using p/invoke, but in order to give the correct function prototypes, you have to know which functions are in there and which parameters they expect. Some of this information (at least which functions exist) can be retrieved by looking at the DLL using Dependency Walker (part of the platform SDK IIRC).

      Regards, mav -- Black holes are the places where God divided by 0...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups