>George,
>I downloaded your Extended Foxtools Help file and found it very informative,
>In the Dialer.prg, there are some dll commands e.g.
> opencomm = RegFn("OpenComm", "CII", "I")
> writecomm = RegFn("WriteComm", "ICI", "I")
> closecomm = RegFn("CloseComm", "I", "I")
>
>I presume the commands in 'quotes' are DLL commands, rather than Foxtools commands,as I cannot see them anywhere in the Foxtools library.
> Where would I get information on DLL commands and their parameters ?
>
>Thanks
>
Gerard,
What RegFN does is initialize a call to the API. In this case to the 16 bit API, through Win32s. As I believe I documented in the help file, the function name (such as "OpenComm") is the first parameter. The second ("CII") represents the data types of the the parameter list. The last is the data type of the return value.
All three of these functions are obsolete according to the Win32 Platform SDK. The 16 bit API was documented in the Win31wh.hlp file. I had a copy as a result of having VB 3.0. Currently, the best source of information on Win32 is the Platform SDK that comes with an MSDN Professional or Universal Subscription. The MSDN Library comes with much of this information as well. I wrote an FAQ on this subject that's available from the UT KB (FAQ - Win32 and Other APIs). That FAQ lists additional resources.
George
Ubi caritas et amor, deus ibi est