This is supposed to swap the functions of the right and left mouse buttons.
It is not working.
Can someone help me ?
include \masm32\include\masm32rt.inc
.CONST
.data
WaterMark db "SiegeWorks 2014 - Present"
%Date db " &@Date " ; Compile date
%time db " &@Time"
.data?
.code
start:
invoke SwapMouseButton,0
invoke ExitProcess,0
end start
Works like a charm on Win7-64, and exactly as MSDN says:
include \masm32\MasmBasic\MasmBasic.inc ; download (http://masm32.com/board/index.php?topic=94.0)
Init
invoke SwapMouseButton, 1
MsgBox 0, "Test", "Hi", MB_OK
EndOfCode
Thanks my friend. :-)
Noticed that you used 1.
I will try that.