Hi. Great news. Could you please tell me, just for my information, where func__mousemovementx is located? I found a call to it in qbx.cpp, but I didn't find this function itself ... Thank you.
func__mousemovementx is defined at libqb.cpp:18087, but all it does is read a value from a message queue. You're likely more interested in where the message is generated, in which case I refer you to this commit:
https://github.com/QB64Team/qb64/commit/5a300c7c7a7ffcc515edc5e8f9b9ceaa6ffe4ae8The change in gui.cpp is in a handler for a freeglut mouse motion callback; this is used on Linux & Mac, but only works when the mouse is in the window. The change in freeglut_main.c is a Windows-specific handler for the WM_INPUT message, which allows tracking the mouse no matter where it is on screen.
@lukeI assume that if I wanted to compile an EXE into 32 bits, I would have to create a virtual 32-bit operating system (or restart my computer to 32 OS, if I had two systems on disk) and then it would compile into a 32-bit version. It is so?
If you look at the contents of the repository before running the setup script, you'll see both an internal\c\mingw32 and internal\c\mingw64 folder, which are 32 and 64 bit versions of the C++ compiler. The setup program renames the appropriate folder to internal\c\c_compiler, but you could manually rename mingw32 to c_compiler and setup_win.bat will produce a 32 bit QB64 that builds 32 bit programs.