What differences are there between the executables created by PBCC 4.03 and 4.04?
One is that the 4.04 exe file is a little larger, but there must be other differences ...
I have a program which when compiled with 4.04 runs as when compiled with 4.03, except for one thing. Clicking the left mouse button disables a certain feature – call it feature D for now.
After feature D is thus disabled, if a window is created (API call CreateWindowEx) and shown (ShowWindow) then feature D will work again. And will get disabled again if the left mouse button be clicked again.
All of this is on a graphic window with the console off. What is feature D, you ask? It’s using the keyboard. The keyboard itself is not disabled though, the sub-classing is (evidently) and the keystrokes don’t get through to the graphic window.
What’s puzzling is that this problem is confined to left-clicking. Right-clicking works fine (doesn’t disable keystrokes), yet the code is completely symmetrical: the left and right buttons are handled with separate but identical code.
And, to repeat, the program works fine compiled with 4.03.
Any ideas?
One is that the 4.04 exe file is a little larger, but there must be other differences ...
I have a program which when compiled with 4.04 runs as when compiled with 4.03, except for one thing. Clicking the left mouse button disables a certain feature – call it feature D for now.
After feature D is thus disabled, if a window is created (API call CreateWindowEx) and shown (ShowWindow) then feature D will work again. And will get disabled again if the left mouse button be clicked again.
All of this is on a graphic window with the console off. What is feature D, you ask? It’s using the keyboard. The keyboard itself is not disabled though, the sub-classing is (evidently) and the keystrokes don’t get through to the graphic window.
What’s puzzling is that this problem is confined to left-clicking. Right-clicking works fine (doesn’t disable keystrokes), yet the code is completely symmetrical: the left and right buttons are handled with separate but identical code.
And, to repeat, the program works fine compiled with 4.03.
Any ideas?
Comment