The Module Definition File
From InterBase
Go Up to Building Applications
Creating a module definition file can solve certain issues that arise during linking and compiling with the C++Builder:
- Set the
STACKSIZEparameter to at least 10 kilobytes (10,240 bytes); 16 kilobytes (16,384 bytes) is recommended. A sample .deffile is included in theexamplessubdirectory of the InterBase installation directory. - Because the C++Builder prepends an underscore to some API functions that
gds32.dllexports without the underscore, you may need to add aliases for these functions to your module definition file, as in the following example:
IMPORTS _isc_start_transaction = GDS32.isc_start_transaction