| View previous topic :: View next topic |
| Author |
Message |
Ian Trackman Guest
|
Posted: Sat Jan 10, 2004 7:41 pm Post subject: Winzip problem |
|
|
I'm trying to automate a Winzip backup of data files when my program ends.
I close the session then use CreateProcess to call Winzip. But Winzip
reports a file sharing problem.
I remember seeing a thread some time ago about this being related to a bug
in the BDE.
Does anyone have a solution or workaround please ?
Ian Trackman
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Sat Jan 10, 2004 9:05 pm Post subject: Re: Winzip problem |
|
|
It is very difficult to answer database questions when you do not tell
us what database you are using.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Ian Trackman Guest
|
Posted: Sun Jan 11, 2004 9:46 am Post subject: Re: Winzip problem |
|
|
<It is very difficult to answer database questions when you do not tell
us what database you are using.>
Paradox under Delphi 5
Ian
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Sun Jan 11, 2004 2:45 pm Post subject: Re: Winzip problem |
|
|
On Sun, 11 Jan 2004 09:46:10 -0000, "Ian Trackman"
<ian (AT) bluechipbridge (DOT) co.uk> wrote:
| Quote: | Paradox under Delphi 5
|
Try calling Session.Close before you try to zip the files.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Ian Trackman Guest
|
Posted: Sun Jan 11, 2004 7:36 pm Post subject: Re: Winzip problem |
|
|
< Try calling Session.Close before you try to zip the files. >
I'm already doing that (as per my original email).
Ian
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Sun Jan 11, 2004 8:10 pm Post subject: Re: Winzip problem |
|
|
The only other alternative is to do the backup from another program
that does not open the database.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Ian Trackman Guest
|
Posted: Sun Jan 11, 2004 9:44 pm Post subject: Re: Winzip problem |
|
|
<The only other alternative is to do the backup from another program
that does not open the database.>
So is there some way of getting the first program to cause the second one to
execute after it ends (other than wrapping them both up in e.g. a batch
file) ?
Ian
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Mon Jan 12, 2004 2:21 am Post subject: Re: Winzip problem |
|
|
On Sun, 11 Jan 2004 21:44:10 -0000, "Ian Trackman"
<ian (AT) bluechipbridge (DOT) co.uk> wrote:
| Quote: | So is there some way of getting the first program to cause the second one to
execute after it ends (other than wrapping them both up in e.g. a batch
file) ?
|
Use ShellExecute or CreateProcess. For an example of using
ShellExecute see FMXUTILS.PAS in the Demosdocsfilemanex directory.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
|