Q_Liberator malaise

Anything QL Software or Programming Related.
User avatar
Peter
Font of All Knowledge
Posts: 2540
Joined: Sat Jan 22, 2011 8:47 am

Re: Q_Liberator malaise

Post by Peter »

RalfR wrote: Tue Sep 02, 2025 3:38 am
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....

:D :D :D
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.


Martin_Head
QL Wafer Drive
Posts: 1000
Joined: Tue Dec 17, 2013 1:17 pm

Re: Q_Liberator malaise

Post by Martin_Head »

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.


Post Reply