Anonymous user
Call a function in a shared library: Difference between revisions
m
→{{header|PureBasic}}: removed empty line
(→{{header|PureBasic}}: added Prototype) |
m (→{{header|PureBasic}}: removed empty line) |
||
Line 339:
=={{header|PureBasic}}==
Older PureBasic versions normally relied on CallFunction() and CallFunctionFast()
<lang Purebasic>if OpenLibrary(0, "USER32.DLL")
*MessageBox = GetFunction(0, "MessageBoxA")
CallFunctionFast(*MessageBox, 0, "Body", "Title", 0)
|