Hi Everybody,
I have looked at many posts and am trying to add external DLL calls to my app.
Can someone please tell me where I am going wrong.
Syntax :
Function Connect() as String
Return values:
Success - Port number
Error - Empty String
DLL32 FUNCTION Connect() AS LPSTR PASCAL LIB "\Ez\dll\POx.DLL"
Syntax :
Function Handshake() as Boolean
Return values:
Success - TRUE
Error - FALSE
DLL32 FUNCTION Handshake() AS BOOL PASCAL LIB "\Ez\dll\POx.DLL"
Syntax :
Function SetID(id as String) as Boolean
Return values:
Success - TRUE
Error - FALSE
DLL32 FUNCTION SetID(ID AS LPSTR) AS WORD PASCAL LIB "\Ez\dll\POx.DLL"
Syntax :
Function SetTime( cur_time as Date) as Boolean
Return values:
Success - TRUE
Error - FALSE
DLL32 FUNCTION SetTime(cur_time AS Date) AS WORD PASCAL LIB "\Ez\dll\POx.DLL"
Syntax :
Function SetInterval(interval as Integer) as Boolean
Return values:
Success - TRUE
Error - FALSE
DLL32 FUNCTION SetInterval(interval AS LONG) AS WORD PASCAL LIB "\Ez\dll\POx.DLL"
Syntax :
Function GetData(data_array()) as integer
Return values:
Success - Number of Data lines
Error - 0
DLL32 FUNCTION GetData(data_array()) AS LONG PASCAL LIB "\Ez\dll\POx.DLL"
Thanks,
Jeff