Hi. Can someone see what is wrong with this section of code?
It works fine on my computer, but when I compile the program on another computer, the program doesn't seem to respond to the mouseclick anymore. Is it a problem of operating systems? (I'm using WinXP, and the other computer is running Win 2000 professional)
if (irInBuf[cNumRead-1].Event.MouseEvent.dwButtonState == FROM_LEFT_1ST_BUTTON_PRESSED || irInBuf[cNumRead-1].Event.MouseEvent.dwButtonState == RIGHTMOST_BUTTON_PRESSED)