External .dll in Window/Widget
-
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.
-
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? -
@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? -
@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 ?
-
@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?
-
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.
-
@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.