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 STACKSIZE parameter to at least 10 kilobytes (10,240 bytes); 16 kilobytes (16,384 bytes) is recommended. A sample .def file is included in the examples subdirectory of the InterBase installation directory.
  • Because the C++Builder prepends an underscore to some API functions that gds32.dll exports 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

Advance To: