To use C/C++ libraries from Xbase++ their interfaces can be declared with the commands EXTERN, STRUCTURE and UNION in the prg source code. These commands are suitable to bind to any interface implemented with the cdecl or stdcall calling convention. In addition, callbacks can be modeled with the DllCallback class.
The Binary Access Package (BAP), which is also included with Xbase++, is no longer being developed and has been replaced by the above-mentioned commands and classes.
See also:
Xbase++ documentation Command EXTERN
Xbase++ documentation Command STRUCTURE | UNION
Xbase++ documentation Class DllCallback
The Binary Access Package (BAP), which is also included with Xbase++, is no longer being developed and has been replaced by the above-mentioned commands and classes.
See also:
Xbase++ documentation Command EXTERN
Xbase++ documentation Command STRUCTURE | UNION
Xbase++ documentation Class DllCallback
Last edited by a moderator: