> I build my EXE application with encryption. When I pack this EXE file with
>
> PKZIP, ARJ, LHA, RAR etc., I've got a very poor compression rate. Trying to
> build an EXE without encryption, the compression rate seems to be normal.
> Any suggestions about using both - encryption and normal compression ?
>
> Thanks, Primoz.
Primo¾, the compression rate is low because the encryption is good :)
The previous versions of Fox had a bug:
I tried to break the .app into two parts, one encrypted .app
containing the library and other system routines (should be .vcx'es now)
the other part should contain the rest, and go without encryption
the first part was marked as excluded from the project
The result was one of the two:
- as soon as I included one encrypted .app into the .pjx (no matter
if it was marked as excluded or not), the project got marked as
encrypted, and built an encrypted .app
- if I tried to reset the Encrypted field in the .pjx header record,
when I tried to rebuild the app, the system died in glorious frozen
position, not even the orthodox reset helped
- if I tried to delete the record where the encrypted .app was
mentioned, the project manager couldn't find most of the necessary
routines, so I had no control on the process - I could ignore the
messages, but then some of them might mean something.
I didn't try it yet, but seems to be the VFP might behave the same.
I worked around by excluding just one .fxp from the project which was
compiled as not encrypted, built the .app, and then recompiled that one
with encryption and distributed as such... so it was compressed well,
and the registration info was encrypted.
Oh no, I could have done that with the system app too!!! (I do sound
quite stupid to myself now ;))