view lua/test/msgbox.lua @ 48:a2125195b052

added callconv switching to one example
author Tassilo Philipp
date Fri, 13 Nov 2020 18:27:09 +0100
parents 0cfcc391201f
children
line wrap: on
line source

user32 = dcLoad("user32")
msgbox = dcFind(user32,"MessageBoxA")
print(msgbox)
dcCall(msgbox, "iSSi)v", 0, "hello", "world", 0)

dcCall(msgbox, "iSSi)v", 0, "hello", "world2", 0)