initialiseJuce_GUI several times?


In order to build Max/MSP externals (those are bundles/DLL) i try to figure the best approach. Is it safe to call initialiseJuce_GUI/shutdownJuce_GUI several times? I mean once per DLL, but with multiple DLL in the host. I guess that each DLL would contain its own static MessageManager (that will do nothing) so i don't have to care. It seems that it is done like that in IRCAM's FTM. But any opinion/confirmation would be appreciated.

Yes, should be ok, there's actually not much that happens in there nowadays.

Good to know. I prefer the static approach instead of going in a DLL machinery.