>>Hi All,
>>
>>That's the dll function:
>>
>>long GetCashDrawerStatus ( unsigned char *Status );
>>
>>I tried :
>>
>>DECLARE integer GetCashDrawerStatus IN poscd2.dll as pos2_status string
>>
>>no success...
>>
>>what I should put instead of "unsigned char *Status" ?
>
>
>DECLARE integer GetCashDrawerStatus IN poscd2.dll STRING @
>lcTest = []
>GetCashDrawerStatus(@lcTest)
>
Funny, I wanted to suggest exactly that too.
If it's not broken, fix it until it is.
My Blog