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. Real-Time push server in C++ may i use it as unmanaged dlls so i can work on it using C# ?

Real-Time push server in C++ may i use it as unmanaged dlls so i can work on it using C# ?

Scheduled Pinned Locked Moved Managed C++/CLI
csharpc++sysadminquestion
2 Posts 2 Posters 5 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.
  • A Offline
    A Offline
    Ali Al Masry
    wrote on last edited by
    #1

    Hello Guys.. i am about to work on sdk that built in C/C++ ... how i can communicate with it using C# ? it`s requires C++ language which is hard to learn in a few days... Real-Time push server in C++ may i use it as un-managed dll`s so i can work on it using C# ?

    J 1 Reply Last reply
    0
    • A Ali Al Masry

      Hello Guys.. i am about to work on sdk that built in C/C++ ... how i can communicate with it using C# ? it`s requires C++ language which is hard to learn in a few days... Real-Time push server in C++ may i use it as un-managed dll`s so i can work on it using C# ?

      J Offline
      J Offline
      John Schroedl
      wrote on last edited by
      #2

      Yes, you should be able to create a C++/CLI Assembly (DLL) which exposes functionality to C# via ref classes. Those managed classes can call into the C/C++ SDK to do the necessary work. Reference the C++/CLI assembly from your C# code and call into it... profit!

      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