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. How to import following C DLL function to C# ? [ I am still waiting .... :( ] [Wating no more :)]

How to import following C DLL function to C# ? [ I am still waiting .... :( ] [Wating no more :)]

Scheduled Pinned Locked Moved C#
comcsharpc++tutorialquestion
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.
  • R Offline
    R Offline
    Roman Lerman
    wrote on last edited by
    #1

    :( I have a native C DLL which contains the following function: int FOO( UINT A, UINT B, int X, int Y, void *(*get_Z)(int, int, void*), void* I, int G, int* &K, int* &L ) throw () ; What should I do to be able to use it in my C# program. The solution: this link[^] Thanks to Henry Minute Roman

    modified on Tuesday, April 21, 2009 7:35 AM

    H 1 Reply Last reply
    0
    • R Roman Lerman

      :( I have a native C DLL which contains the following function: int FOO( UINT A, UINT B, int X, int Y, void *(*get_Z)(int, int, void*), void* I, int G, int* &K, int* &L ) throw () ; What should I do to be able to use it in my C# program. The solution: this link[^] Thanks to Henry Minute Roman

      modified on Tuesday, April 21, 2009 7:35 AM

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      Wait no more. Take a look at this[^]. The tool there should enable you to generate the required code.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      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