Plugin loading under OS4
Posted: Sat Feb 24, 2018 1:13 pm
I got a report from one of my betatesters that my program, which requires MuiRoyale 1.7 (@REQUIRE "muiroyale", {Version=1, Revision=7}), failed to start on his OS4 setup. It always complained "This program requires muiroyale.hwp 1.7!" even though the latest muiroyale.hwp was present in the progdir (and copying to libs:hollywood didn't help either). This was only problem under OS4, but not under MorphOS. We were banging our heads to the wall for couple days until we recognized the problem.
The issue is present if you have spared, but renamed, an older muiroyale.hwp in the progdir, and if its name ends to ".hwp". In this case there was version 1.6 present and it was renamed to muiroyaleOLD.hwp. Hollywood seemed to load this older version always no matter if there was 1.7 in the progdir or in Libs:Hollywood. In fact it seems to load it no matter how it's named if it ends to ".hwp", so renaming it to "bla.hwp" caused problems, but "hwp.bla" didn't.
This seems to be an issue only on OS4, because I couldn't get it reproduced on MorphOS.
The issue is present if you have spared, but renamed, an older muiroyale.hwp in the progdir, and if its name ends to ".hwp". In this case there was version 1.6 present and it was renamed to muiroyaleOLD.hwp. Hollywood seemed to load this older version always no matter if there was 1.7 in the progdir or in Libs:Hollywood. In fact it seems to load it no matter how it's named if it ends to ".hwp", so renaming it to "bla.hwp" caused problems, but "hwp.bla" didn't.
This seems to be an issue only on OS4, because I couldn't get it reproduced on MorphOS.