Try
DECLARE long GetCashDrawerStatus IN poscd2.dll String @
lcStatus = CHR(0)
lnRetCode = GetCashDrawerStatus(@lcStatus)
? ASC(lcStatus)
>
>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" ?
--sb--