Microsoft Windows Requirements
Go Up to Additional Requirements
InterBase client applications for Microsoft Windows have programming requirements specific to that environment and the C/C++ compilers available there.
The InterBase header file, ibase.h, provides prototypes of all API functions. For Windows applications, these prototypes make use of the following declarations:
#define ISC_FAR __far #define ISC_EXPORT ISC_FAR __cdecl __loadds __export
For example, the isc_attach_database() prototype in ibase.h is:
ISC_STATUS ISC_EXPORT isc_attach_database(ISC_STATUS ISC_FAR *, short, char ISC_FAR, isc_db_handle ISC FAR *, short, char ISC_FAR *);
When Windows client applications make calls and cast C data types, they should make explicit use of the ISC_FAR declaration.
- Note: The
ISC_EXPORTkeyword is omitted from the API function reference because on all non-Windows platforms it is undefined.
For more information about Windows requirements, see Programming with the InterBase API.