|
From: Michael H. <mg...@gm...> - 2010-01-07 11:09:04
|
Alec Swan wrote: > I was able to install and run FlameRobin on my Windows XP. I was also > able to access an embedded database after copying all Firebird DLLs in > the FrameRobin installation directory. Everything worked smoothly, thanks! > > I would like to keep Firebird DLLs in a separate folder and create a BAT > file which sets appropriate system variables and runs flamerobin.exe. I > tried setting the PATH and FIREBIRD system vars in the batch file before > starting FR. FR starts up, but cannot connect to the database. > > Could you tell me which sys vars I need to set in the batch file before > starting FR? Provided you have correctly installed Firebird you don't need to set *any* environment variables. If you don't want to install FB but simply copy it to a directory, then that directory needs to be on the path for the DLL to be found - this is no different from the normal rules of DLL use on Windows. So if you have FlameRobin in 'C:\FlameRobin', and the Firebird directory is 'C:\Firebird', then the following start script should work: @echo off set PATH=C:\Firebird;%PATH% C: cd \FlameRobin flamerobin.exe Note that FlameRobin only tries to load fbclient.dll and gds32.dll, so if you are using the embedded version you need to copy (or rename) fbembedded.dll to fbclient.dll for FlameRobin to be able to load it. HTH -- Michael Hieke |