initialiseJuce_GUI several times?


#1

Hi,

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.


#2

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


#3

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