Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. How to use plugins written in C++ from C#
Qt 6.11 is out! See what's new in the release blog

How to use plugins written in C++ from C#

Scheduled Pinned Locked Moved Language Bindings
4 Posts 2 Posters 3.3k 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.
  • C Offline
    C Offline
    ChanchoCiego
    wrote on last edited by
    #1

    Hello
    (sorry for the translation of Bing)

    It is possible to use plugins written in C++ with their signals and slots from C#?

    The idea is to create a Web interface using the same libraries as the desktop interface.

    Best regards

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hardcodes.de
      wrote on last edited by
      #2

      In C# you can use unmanaged (which means non-dotnet) code via "marshalling":http://www.codeproject.com/Articles/66245/Marshaling-with-C-Chapter-1-Introducing-Marshaling.
      If you put the desired code into a library, you should be able to re-use the .DLL in your dotnet project.

      while(!sleep){++sheep;}

      1 Reply Last reply
      0
      • C Offline
        C Offline
        ChanchoCiego
        wrote on last edited by
        #3

        Hello

        I found this:

        "http://qt-project.org/forums/viewthread/20422":http://qt-project.org/forums/viewthread/20422

        I now have to see how to implement signals and slots

        Thanks

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hardcodes.de
          wrote on last edited by
          #4

          Uh, didn't remember this 8)

          while(!sleep){++sheep;}

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved