How to create a Dialog Window for an ASIO Driver

Hi Community,
I’m refining an ASIO driver I did some time and now it is time to add a dialog window when the user request it by Host app.

Several doubts appears to me facing it.
First of all, it is supposed I need create a MessageManager instance and run its dispatchLoop. If so, in what thread? Surely, the host thread that call the function to create the dialog window could not be the appropriate one to establish a Juce message Loop. Do I have to create a new thread and instantiate a JuceAplication and its messageLoop there?

Thank you in advance


Does anybody has an answer?

The host would be pretty stupid to not open the dialog from its GUI thread. (But of course hosts have been known to do stupid things…)