Embedding juce in another app

I would like to embed GUI aspects of juce into another app by building a dynamic library which is loaded into the host app. the host app is all GPL code so i could conceivably add the code directly, but this would likely be an extreme headache.

Anyway, I see that one needs to use initialiseJuce_GUI(), but what would be the basic other things I would need to do. For instance, I assume I would need a MessageManager. If anyone could give me any tips or point me to some code as an example I would really appreciate it. thanks.

Well the audio plugin code would be a good place to look, because that’s exactly how a plugin works.

OK Thanks. I will look at that.