Subject | how do i run gbak from delphi |
---|---|
Author | petesouthwest |
Post date | 2004-07-17T19:24:21Z |
Hi
I am trying to run gbak from delphi using:
shellexecute(form1.handle,'open',pchar
(backupStr),nil,nil,sw_shownormal);
where backupStr:= 'gbak [-b] -user sysdba -pass masterkey '+
IB_connection1.databaseName +'backup18_07_04.gbk'
but nothing appears to be happining. I have copied gbak.exe and
fbclient.dll into the directory of the exe. The directory is on the
same drive as firebird has been installed on.
Can anyone suggest where it is going wrong?
I'm using delphi 6, on win xp
Thanks
Pete
I am trying to run gbak from delphi using:
shellexecute(form1.handle,'open',pchar
(backupStr),nil,nil,sw_shownormal);
where backupStr:= 'gbak [-b] -user sysdba -pass masterkey '+
IB_connection1.databaseName +'backup18_07_04.gbk'
but nothing appears to be happining. I have copied gbak.exe and
fbclient.dll into the directory of the exe. The directory is on the
same drive as firebird has been installed on.
Can anyone suggest where it is going wrong?
I'm using delphi 6, on win xp
Thanks
Pete