Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. External .dll in Window/Widget
Forum Updated to NodeBB v4.3 + New Features

External .dll in Window/Widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 2 Posters 2.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hi all.

    Question: Is it possible to "embed" a foreign .dll in a Window/Widget?

    I have created a minimal VST in another framework, a very simple Gain Slider, and it works. I have tested it inside two DAW's.

    I want a Qt Widget that has a QAudioInput and QAudioOutput and the "VST" showing in the Widget.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      Well there is
      http://doc.qt.io/qt-5/qwindow.html
      Does this VST have a windows handle ? or what is inside the DLL?

      ? 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        Well there is
        http://doc.qt.io/qt-5/qwindow.html
        Does this VST have a windows handle ? or what is inside the DLL?

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @mrjj

        I'm sorry I don't understand the windows handle bit, and the .dll is just a gain slider written in c++.
        Sounds like I have more reading to do?

        mrjjM 1 Reply Last reply
        0
        • ? A Former User

          @mrjj

          I'm sorry I don't understand the windows handle bit, and the .dll is just a gain slider written in c++.
          Sounds like I have more reading to do?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Ian-Bray
          Normally a windows "widget" like EditBox have a HWND
          that windows uses to talk to it.
          What type of control is the gain slider ?
          MFC ? pure GDI calls?

          ? 1 Reply Last reply
          0
          • mrjjM mrjj

            @Ian-Bray
            Normally a windows "widget" like EditBox have a HWND
            that windows uses to talk to it.
            What type of control is the gain slider ?
            MFC ? pure GDI calls?

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @mrjj I see :-) I have a LOT more reading to do!

            mrjjM 1 Reply Last reply
            1
            • ? A Former User

              @mrjj I see :-) I have a LOT more reading to do!

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              @Ian-Bray
              If its based on a normal windows control then it should be able to embed it into Qt app.
              If its something else it might be worse.

              what framework or SDK did you use with c++ to create it ?

              ? 1 Reply Last reply
              0
              • mrjjM mrjj

                @Ian-Bray
                If its based on a normal windows control then it should be able to embed it into Qt app.
                If its something else it might be worse.

                what framework or SDK did you use with c++ to create it ?

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                @mrjj JUCE

                mrjjM 1 Reply Last reply
                0
                • ? A Former User

                  @mrjj JUCE

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Ian-Bray said in External .dll in Window/Widget:

                  JUCE

                  Ah, seems like big framework.
                  I have no idea if its
                  https://juce.com/doc/classDocumentWindow
                  can give a HWND.
                  There might also be issues with interaction if JUCE have internal event/message pump.

                  If they have a forum, maybe someone there knows if embedding is an option?

                  ? 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @Ian-Bray said in External .dll in Window/Widget:

                    JUCE

                    Ah, seems like big framework.
                    I have no idea if its
                    https://juce.com/doc/classDocumentWindow
                    can give a HWND.
                    There might also be issues with interaction if JUCE have internal event/message pump.

                    If they have a forum, maybe someone there knows if embedding is an option?

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by A Former User
                    #9

                    @mrjj I'm really only interested in the Audio side, I'll investigate. Thanks.

                    I'll leave it "unsolved" for a few days just in case there's a brainbox watching!

                    1 Reply Last reply
                    1
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      Perhaps it might be worth asking as a more general question. Most VST's, if not all, are built using the Steinberg SDK. Juce uses it also. Would it be possible to embed one of these in a Qt Window/Widget? I have licenses for those I use, and I'd like to try to make a Board type thing for myself with Qt.

                      mrjjM 1 Reply Last reply
                      0
                      • ? A Former User

                        Perhaps it might be worth asking as a more general question. Most VST's, if not all, are built using the Steinberg SDK. Juce uses it also. Would it be possible to embed one of these in a Qt Window/Widget? I have licenses for those I use, and I'd like to try to make a Board type thing for myself with Qt.

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @Ian-Bray
                        Well if its possible to be a VST compatible app and load such plugins, then
                        it should be possible. Seems to be a standard for plugins.

                        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