ToolBook syntax for external DLLs

Mark Wieder mwieder at ahsoftware.net
Mon Aug 9 23:04:21 EDT 2004


Richard-

But I did find a couple of examples:

http://listserv.plattecanyon.com/wa.exe?A2=ind9506A&L=toolbook&P=R2844&I=-3
http://listserv.plattecanyon.com/wa.exe?A2=ind9501&L=toolbook&P=R15555&I=-3

To use a function from an external library file (exe or dll) use the linkDLL
function in TB, eg:
 
to handle SummatAndNowt
        linkdll "USER"
                int messageBox(word, string, string, word)
        end
end
 
The above links the very useful messagebox function, which you can later
call in script, eg:
 
        get MessageBox(sysWindowHandle, "Do you really want to quit?", \
                        "Quit", 256+32+4)

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list