Overview of Interface Libraries
The appropriate way to access the transactional interface from your Windows application is to link to a library that references the Btrieve Glue DLL when you compile. The Glue DLL is responsible for “glueing” your application to the Interface DLL. Like traditional glue (adhesive material), the Glue DLL is a thin layer between your application and the Interface DLL. The Glue DLL is responsible for successfully performing the following actions:
1
2
If the Glue DLL encounters a failure condition at any step, it issues an appropriate status code that your application can use to alert the user of the failure.
Table 31 shows the link libraries with which your application can link, and the DLLs to load.
 
1Compiler-specific libraries are in different subdirectories. To link Win32 applications, use the \Win32 directory if you use the Microsoft compiler; use the \Win32x directory if you use the Embarcadero or Watcom compiler.
Linux
Linux has no glue components. The application directly links against the shared library that implements the interface. The transactional interface link library is libpsqlmif.so for both Linux 32-bit and 64-bit applications.