Jump to content

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")
if OpenLibrary(0, "USER32.DLL")
*MessageBox = GetFunction(0, "MessageBoxA")
CallFunctionFast(*MessageBox, 0, "Body", "Title", 0)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.