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. Managed C++/CLI
  4. How can i use dll function in c++.net ? please help .

How can i use dll function in c++.net ? please help .

Scheduled Pinned Locked Moved Managed C++/CLI
questioncsharpc++graphicsgame-dev
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.
  • N Offline
    N Offline
    nattafy
    wrote on last edited by
    #1

    I have DirectX.Capture .dll file and i want to use function in dll but i don't know how to use .dll function in c++.net . dll function from article 's DirectX.Capture .

    G 1 Reply Last reply
    0
    • N nattafy

      I have DirectX.Capture .dll file and i want to use function in dll but i don't know how to use .dll function in c++.net . dll function from article 's DirectX.Capture .

      G Offline
      G Offline
      guestcat
      wrote on last edited by
      #2

      simply #include the header file and put the .lib file in the linker section. if u do not have the header file but you know the signature then use [DllImport] to call the methods from the dll. first one is the easiest way.

      ^-^ @|@ - redCat

      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