view lua/test/msgbox.lua @ 34:2682a627168c

- breaking changes: * restrict 'Z' conversions to immutable types * restrict 'p' to mutable types (and handles)
author Tassilo Philipp
date Sun, 12 Apr 2020 19:37:37 +0200
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)