06-16-2023, 02:02 PM
(06-16-2023, 01:12 PM)JRace Wrote: Are we back? Is this thing on?
The forum was glitchy for a minute or three, at least on my end.
@GareBear & @bplus :
OK, I just tested Summer.bas on QB64PE-3.8.0 running on a fresh install of Lubuntu-22.04.2. Had the same problems you've been having: files not found & invalid handles up & down the board.
It looks like Summer.bas was written on Windows.
The program uses lower-case only to read its resouce files, but four of those files have mixed-case names Windows has a carefree, happy-go-lucky attitude about letter case in filenames, but Unix & Linux are fussy about such things. Linux is case-sensitive and sees Stem1.png and stem1.png as two completely different file names, while Windows says, "eh, it's all the same."
Rename peLogo.png, Stem1.png, SaveImage.BI, and SaveImage.BM, changing the upper-case letters to lower-case. Once I did that, the program worked as expected.
Oh sure, I always forget the case sensitivity of Linux. I knew something must be wrong finding/loading the image files, but never thought it could be because of the case of the filenames.
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23