Peter wrote: Sun Aug 31, 2025 9:38 pmAt the moment I use only QLib programs which already have a built-in in runtime
The solution is actually quite simple: simply load "QLib_run" in the boot program, then everything will work....
Not reliably, because there were different versions of "QLib_run". If the library is contained in the executable, I'm sure to have the right one.
Also I don't like to always load extensions that I may not always need, especially messy software like QLiberator.
pjw wrote: Tue Sep 02, 2025 3:29 pm
It works a treat, Martin, at least on the program I tried it on. Thank you
The removal program appears to remove 114 bytes more than the size of the Qlib_run I just compiled into it. Is that normal?
Adding it again using your program restores the object to the "correct" size, ie 114 bytes less than the compiler managed.
Either way, the object program worked as it should.
I don't know offhand what the 114 bytes are. For my testing I have three programs that I have compiled twice, once with the runtimes included, and once without them.
Then after using one of my programs, I do a byte for byte comparison with it's opposite number to make sure they were exactly the same.