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. C DLL -> C# DLL possible?

C DLL -> C# DLL possible?

Scheduled Pinned Locked Moved C#
csharpquestion
7 Posts 4 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.
  • S Offline
    S Offline
    S O S
    wrote on last edited by
    #1

    Is it possible to call a C# DLL(or really any other way to use C#) from a C DLL?

    N N J 3 Replies Last reply
    0
    • S S O S

      Is it possible to call a C# DLL(or really any other way to use C#) from a C DLL?

      N Offline
      N Offline
      Nathan Blomquist
      wrote on last edited by
      #2

      Yes, but you will have to work with COM. Look into the topic of Com Interop. You will need to tell the project to register the c# dll for com interop. Hope this helps, Nathan --------------------------- Hmmm... what's a signature?

      S 1 Reply Last reply
      0
      • S S O S

        Is it possible to call a C# DLL(or really any other way to use C#) from a C DLL?

        N Offline
        N Offline
        Nick Parker
        wrote on last edited by
        #3

        Locked Ghost wrote: Is it possible to call a C# DLL(or really any other way to use C#) from a C DLL? Try my article: Creating a RCW for COM enabled non .NET applications[^] :-D -Nick Parker

        S 1 Reply Last reply
        0
        • N Nathan Blomquist

          Yes, but you will have to work with COM. Look into the topic of Com Interop. You will need to tell the project to register the c# dll for com interop. Hope this helps, Nathan --------------------------- Hmmm... what's a signature?

          S Offline
          S Offline
          S O S
          wrote on last edited by
          #4

          Thanks

          1 Reply Last reply
          0
          • N Nick Parker

            Locked Ghost wrote: Is it possible to call a C# DLL(or really any other way to use C#) from a C DLL? Try my article: Creating a RCW for COM enabled non .NET applications[^] :-D -Nick Parker

            S Offline
            S Offline
            S O S
            wrote on last edited by
            #5

            Thaank you

            N 1 Reply Last reply
            0
            • S S O S

              Thaank you

              N Offline
              N Offline
              Nick Parker
              wrote on last edited by
              #6

              Hope it helps. -Nick Parker

              1 Reply Last reply
              0
              • S S O S

                Is it possible to call a C# DLL(or really any other way to use C#) from a C DLL?

                J Offline
                J Offline
                jspano
                wrote on last edited by
                #7

                If you can use Managed C++ you don't even need COM.

                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