
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows, Firebird Embedded
|
|
| Planning Status: |
Unspecified
|
|
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;
h: THandle;
begin
...
s := ExtractFilePath(FLibrary) + 'intl\fbintl.dll';
h := GetModuleHandle(PChar(s));
if h <> 0 then
FreeLibrary(h);
end;
|
|
Description
|
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;
h: THandle;
begin
...
s := ExtractFilePath(FLibrary) + 'intl\fbintl.dll';
h := GetModuleHandle(PChar(s));
if h <> 0 then
FreeLibrary(h);
end;
|
Show » |
|
Please explain.