12-01-2022, 03:52 PM
(12-01-2022, 12:32 AM)krovit Wrote: It is also true that the project that I can not compile with 3.4.1 is very large and complex and perhaps only by chance an incompatibility has been discovered. In fact, to say, many other things are compiled without problem.What galls about this is that the original author of QB64, Galleon wrote much of the code so it were possible for QB64 to "compile itself" with an earlier version/release of itself. But this was at least ten years ago, before it reached v1.
The BASIC code was thousands of lines long, a lot of it only for the IDE. If your program is anywhere near that complexity, it has better chances to turn up light in a dark corner. It's not a case of discouragement after working on the source code for years.
On the other hand, before v1 QB64 was less capable than it is now. In its first releases it wrote "stdout" and "stderr" files like ordinary files in the same directory as the executable, which was annoying if the user program were burned to CD or DVD and crashed because of it. It had relied on an external library for music playback which was buggy.(*) The graphics base had to be switched out of a library that wasn't being developed any longer, and different people were in charge of the second version. It caused the move to OpenGL and "freeglut", added the "_MAPTRIANGLE" command which is very important. Many other things happened, such as restructuring the source code so it fell into much more than one BASIC text file, and some "black magic" introduced by the QB64 Team and then by the Phoenix team this year.
Until v3.4 if someone wanted a dialog to get a filename from some directory, which is the one Windows offers, he/she had to resort to Windows API programming harder than BASIC. It had to be done even for a "message box". Alternatively one had to do his/her own graphics for it, and to get filenames, had to borrow certain routines written by the popular guys on this forum. This would become hard to believe next year and after for lurkers going to use this product after having some experience with Microsoft BASIC.
(*) With user programs created by the "SDL" version of QB64, where there was any chance of MP3 playback, on my other laptop which had Windows10 never updated from late-2017, instead I needed to use M$'s media player to get correct playback.