Răsfoiți Sursa

Prefer to first try loading embedded library as it offers both embedded and client/server functionality; then regular fbclient; only then gdsclient which is possibly interbase

Reinier Olislagers 11 ani în urmă
părinte
comite
776460b06d
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      TurboBird.lpr

+ 4 - 4
TurboBird.lpr

@@ -36,9 +36,9 @@ const
 {$ENDIF}
 {$IFDEF Windows}
   {$DEFINE extdecl:=stdcall}
-   fbclib = 'fbclient.dll';
-   seclib = 'gds32.dll';
-   thirdlib = 'fbembed.dll';
+   fbclib = 'fbembed.dll'; //allows both embedded and client/server access
+   seclib = 'fbclient.dll'; //only client/server access
+   thirdlib = 'gds32.dll'; //could be Firebird, could be old Interbase library...
 {$ENDIF}
 
 {$R *.res}
@@ -58,7 +58,7 @@ begin
     IBaseLibraryHandle:= LoadLibrary(thirdlib);
   {$ENDIF}
 
-  // Check Firebird library existance
+  // Check Firebird library existence
   if (IBaseLibraryHandle = nilhandle) then
     Application.MessageBox('Unable to load Firebird library: ' + fbclib, 'Warning', 0);