Declare Function bConnect Lib "dClient.dll" (hostID$, portnum%, tcphandle&, maxtime&) As LongI am able to access the DLL from VB using this declaration. I need to use the DLL from Fox. Here is what I am trying in VFP6 SP3:
declare long bConnect in dClient string hostID, short portNum, long @tcpHandle, long maxTime tcpHandle = 0 ? bConnect("127.0.0.1",8227,@tcpHandle,0)I have also tried 'dClient.dll', 'dClient' variations in the DECLARE statement (putting the DLL name inside quote marks).