ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/runtime/IBIntf.pas
(Generate patch)

Comparing ibx/trunk/runtime/IBIntf.pas (file contents):
Revision 27 by tony, Tue Apr 14 13:10:23 2015 UTC vs.
Revision 31 by tony, Tue Jul 14 15:31:25 2015 UTC

# Line 176 | Line 176 | implementation
176  
177   uses Sysutils, IB, Dynlibs, Classes
178   {$IFDEF WINDOWS}
179 < ,Forms, Registry
179 > , Registry
180   {$ENDIF}
181   ;
182  
# Line 250 | Line 250 | procedure LoadIBLibrary;
250      end;
251  
252      //First look for Firebird Embedded Server in installation dir
253 <    InstallDir := ExtractFilePath(Application.ExeName);
253 >    InstallDir := ExtractFilePath(Paramstr(0));  {Using ParamStr(0) assumes windows conventions}
254      if FileExists(InstallDir + FIREBIRD_EMBEDDED) then
255      begin
256           dllPathName := InstallDir + FIREBIRD_EMBEDDED;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines