Standard Interface
This interface can be used by applications written in the most variable programming languages that accept binary fields. Among them we mention: Delphi, Visual Basic, Visual C.
In the case of receipts, the character 0x0a (\n in C language) indicates the end of a line.
All routines called by the automation application must be of type stdcall, that is, the parameters are stacked from right to left and the called routine is responsible for removing them from the stack. The convention of parameters is as follows:
Type | Description |
---|---|
char * | ASCII text buffer terminated by binary zero. |
short int (short) / unsigned short int (ushort) | Variables that occupy 2 bytes in memory, with and without sign, respectively. |
int, unsigned int (uint) | Variables that occupy 4 bytes in memory, with and without sign, respectively |
void | Indicates the absence of parameters or return. |
(variable type) (example: short int or int *) | ASCII text buffer terminated by binary zero. |