Home > Back-end >  The writer is a novice, using C Builder in Delphi development of an interface (KpJk. DLL) cannot cal
The writer is a novice, using C Builder in Delphi development of an interface (KpJk. DLL) cannot cal

Time:10-07

The writer is a novice, the use of c + + Builder in Delphi development of an interface (KpJk. DLL) cannot call its function (PZrPj), please expert help,
Content is as follows:
To make out an invoice data
Description: according to the requirements of booz notes default format, into the interface of booz make out an invoice, and can be printed paper information,
The Function PZrPj
: (ZrTxt PChar; IsPrn: integer; PjLx, Bz, Res: PChar) : integer; StdCall;
Parameters: ZrTxt: paper data
Format (see: data format specification. TXT file)
IsPrn: 0 means shows into paper information of make out an invoice of the reentry after
1 directly make out an invoice and print out
2 said directly make out an invoice but not print
PjLx: paper type
(the empty means take the default current paper type of make out an invoice,
Don't empty the specified type)
Bz: documents note (optional parameters, don't preach to have note)
Res: only as a storage return characters
Success: the paper type, paper number, amount, registration number (,)
Error: error messages)
The return value: the length of the parameters of the Res

CodePudding user response:

 typedef int (__stdcall * PZRPJ) (LPSTR ZrTxt, int IsPrn, LPSTR PjLx, LPSTR Bz, LPSTR Res); 
  • Related