@FellippeHeitor At first it seemed that the "bug packed up and left house" as maybe for a hundred or so various tries (for filenames starting with a letter) all loaded successfully...
BUT
testing further the problem returned (for filenames starting with a letter).
HOWEVER, I noticed the problem ONLY occurs when, however I managed to get this, when
Path C:\\qb64 (Note the double slash after C: a problem reported before by me on much earlier dev builds and which you always managed to fix up)
occurs in the navigation panel (of QB64 IDE). At this point SOMETIMES the file will not load as per already mentioned earlier (this topic).
The hard part became reproducing the steps to achieve this situation, but the screenshots below is the exact sequence on how I managed to get C:\\qb64
When viewing the screenshots I did not actually run DPI_aware...bas, at any stage at all, so its appearance may not have any bearing on the issue.
Your attention is drawn to the 12th screenshot (6th from the end)
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
[ You are not allowed to view this attachment ]
Reminder - your attention is drawn to the 12th (6th from end) screenshot regarding C:\\qb64 (double \\)
Carrying on the sequence from above, in this case, behaved correctly - despite C:\\qb64 (double slash) popping up.
Also, it may be a coincidence, but it seems the issue (filenames starting with a letter) not loading occurs when the qb64.exe is "freshly" launched - rather than after a number of file loads.
As you already can reproduce the other issue (filenames starting with a number) - you may already be aware of the problem (in the QB64 IDE) navigation (by pressing the first character of a filename)...
Navigating to X.......bas incorrectly hits on 16x16.bas
Also, to avoid confusion at this stage of debugging, I did not try to use A:\ RAM drive for installation of $DEBUG dev (on initial recommendation by
@SpriggsySpriggs to help in the debug process) - however interestingly, when from C:\QB64-2021-07-31-96c7c08\ launch of qb64.exe and accessing and successfully loading a file (starting with a letter) from the RAM drive - file loading (with a letter) from then on was almost 100% successful, irrespective of the drive/folder.
Any suggestions I could try - I am trying to narrow it down to anything specific to my computer. I am wondering if even if there is a timing/race problem as sometimes the computer "stalls" (for up to about 6 or so seconds) which I think that there might be "provisioning" (or something) going on - when the SSD C:\ (have being completely many times filled up, the SSD microcontroller (on board the SSD) has to sort out how to manage the "empty bytes" to "spread out wear and tear" (this is all part of the TBW terra bytes written process) since NAND storage technology can only be written a known finite number of times. So if the SSD (microcontroller) is "busy" as above, I have noticed (even with windows OS) that files may not be found or even copied correctly (often resulting in zero or even small length files created from very long files).
Does anyone else find it extremely hard at times to track down a bug?