Article ID: 139070
Article Last Modified on 2/11/2000
Int_num=regfn("Fn_init","L","I", "<path to DLL>")
Int_ret=callfn(int_num,0)
In this call, the "L" parameter, which represents a long argument, is
passed to the DLL. The API function expects a short argument, and the stack
allocated for the parameter is filled. The "S" argument, which represents a
short integer, should be passed instead.
Int_num=regfn("Fn_init","S","I", "<path to DLL>")
Int_ret=callfn(int_num,0)
For more information about Foxtools.fll and the syntax you can use, please
see the Foxtools.hlp file located in the Vfp\Tools directory.
SET LIBRARY TO HOME()+"FOXTOOLS.FLL" && Locates Foxtools
hhand=REGFN("WinHelp","ICIC","I")
LPZFILENAME=HOME()+"FOXHELP.HLP"+CHR(0)
WCOMMAND=258
DWDATA="SEARCH()"+CHR(0)
MYCALL=MAINHWND()
HELP
=CALLFN(hhand,MYCALL,LPZFILENAME,WCOMMAND,DWDATA)
RELEASE HHAND
SET LIBRARY TO && Releases Foxtools
Keywords: KB139070