In Firebird 2.0 and 2.1 Embedded, I notice fbintl.dll will be loaded once I executed isc_dsql_execute_immediate for "CREATE DATABASE". However, the fbintl.dll never get unloaded after I free fbembed.dll.
This cause problems when I use Firebird 2.0 embedded and Firebird 2.1 embedded engine in same application where the fbintl.dll for both 2.0 and 2.1 is not compatible.
To solve the problem temporary, I unload the fbintl.dll library manually:
const FLibrary = 'fbembed.dll'
var s: string;
s := ExtractFilePath(FLibrary) + 'intl\fbintl.dll';
h := GetModuleHandle(PChar(s));
if h <> 0 then