Or don't enable GlobalPlugins, but require or try to load all plugins you think your program might need. You can replace ExitOnError() with the question mark nowadays to get shorter code for optional things (see Error handling).
To require MUIRoyale:
Code: Select all
@OPTIONS {GlobalPlugins=False} ; Or leave the option away completely.
; Insert plugins you require here, they will be loaded from Libs:Hollywood/ too
@REQUIRE "MUIRoyale"
ConsolePrint(mui.IsVersion4())
; Try to load other optional plugins from Libs:Hollywood/
?LoadPlugin("JPEG2000")
?LoadPlugin("TIFF")
?LoadPlugin("Blabla")
Code: Select all
@OPTIONS {GlobalPlugins=False}
Local err = ?LoadPlugin("MUIRoyale")
If err Then ConsolePrint(GetErrorName(err)) Else MUIRoyaleOK = True
If MUIRoyaleOK Then ConsolePrint(mui.IsVersion4())
I haven't tried with other plugins... concentrated on the one you reportedFor the other plugins you confirm me that all works ok?