|
Post by Jeff Cook on Mar 26, 2006 20:42:38 GMT -5
Hi I'm setting up a backup machine and have installed Delphi and all the components I need including VCLZip 305. In my code I have:- ---------------------------------------------------------------- procedure TBackupForm.VCLZip1TotalPercentDone(Sender: TObject; Percent: Integer); begin barProgress.Position := Percent; Application.ProcessMessages; end; ---------------------------------------------------------------- On my usual development machine, this works correctly but on the backup machine, if I compile and run the program I get to the TotalPercentDone event once - at 100% If I take the EXE from backup machine, and run it on my development machine the problem moves with the EXE. Similarly, if I take the EXE on the development machine and put it on the backup machine, then it works OK. So it looks like something is wrong with the compile environment on the backup machine. I have copied the VCLZipD6_3.bpl and VCLZipD6_3.dcp in C:\Program Files\Borland\Delphi6\Projects\Bpl between the machines. I'm at a loss as to why this problem occurs - it looks like the only difference between the programs compiled on each machine. Tried builds on both machines, deleted the DCU's on both machines. Flumoxed - Possibly has nothing to do with VCLZip. Only environmental difference I can think of is that backup machine has a compressed C: drive and the development machine doesn't. Any clues? Cheers Jeff
|
|
|
Post by Kevin on Mar 27, 2006 22:26:35 GMT -5
Gosh, that's a good one. But my first reaction is to guess it has something to do with it being a compressed drive although I've never had this reported.
Is there a way you can zip to a non compressed drive on your backup machine?
Is your backup machines c: drive compressed using normal windows compression? What version of windows is it?
I would also download VCLZip 3.06. It's at the same download url and password as where you downloaded VCLZip 3.05 from.
Kevin
|
|
|
Post by Jeff Cook on Mar 28, 2006 21:34:31 GMT -5
Problem solved!
>Is there a way you can zip to a non compressed drive >on your backup machine?
No other drive available
>Is your backup machines c: drive compressed using >normal windows compression? What version of >windows is it?
Normal Windows compression/ Windows XP Pro
>I would also download VCLZip 3.06. It's at the same >download url and password as where you >downloaded VCLZip 3.05 from.
This indirectly solved the problem. I upgraded VCLZip and tried to rebuild my project and it failed looking for VCLUnZip.dcu. Somehow the library path had been screwed up. I had tidied up the components when installing the latest version and had found a folder called ...\VCL:ZIP\D6\D6 - obviously an error and deleted it. And the libary path must have been pointing to it!
Obviously this folder had held an earlier version of VCLZip - probably a beta version that you sent me to fix a problem a while ago - and this old version had the bug but the right "ThisVersion"
Phew! Mystery solved!
Cheers and Thanks
Jeff
P.S. I had checked the library paths before ... honest ... just missed this problem :-(
|
|
|
Post by Kevin on Mar 29, 2006 7:42:24 GMT -5
Great! Glad to hear things are a go again! Kevin
|
|