Re: How to prevent creating a big exe file.
- From: "MikeA" <appell@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 4 Jul 2008 11:36:38 -0700
When "all is said and done" I think Refox or KonXise (not sure if Konxise
works with dlls but refox does) could realistically compress the file to
probably more than 90% or under 13 megs but that is an educated guess.
I think the group has provided some good solutions.
Mike
"Bernhard Sander" <fuchs@xxxxxxx> wrote in message
news:u%23B2VLb3IHA.1200@xxxxxxxxxxxxxxxxxxxxxxx
Hi Alejandro,
In a project having some big readonly tables I build a DLL including thisDo you really need a .DLL file?
tables with a class to open them. This DLL is called mdata.DLL
All was fine working in the VFP IDE but when I build the main project in
which these tables are used I realized that the exe file is very big and
include all mdata.DLL on it. 130 Mbs.
I do this because I need to encrypt these tables and the tools I had used
don´t work now in VFP9 in windows vista. I use Netlib and now Cryptor4. As
I dont have Cryptor5 license I choose this way to protect the tables.
Can I create an exe with the readonly tables in other .DLL file?
In Foxpro, you can split a project into separate "libraries" as .APP files.
If I understand you correctly, then you would like to have a (small) .EXE
file
with your program and another (maybe big) file containing the .DBF files.
So create two projects, one with your class to open the DBFs and the DBFs.
Mark
the tables as "included". Then the tables are read only. Build an .APP from
this
first project.
The second project contains the rest of your program and the first app, but
mark
it as "excluded". Then build your .EXE from the second project. Now, the exe
should be quite small.
At your client, install both, the .EXE and the .APP.
Regards
Bernhard Sander
.
- References:
- Re: How to prevent creating a big exe file.
- From: Bernhard Sander
- Re: How to prevent creating a big exe file.
- Prev by Date: ActiveX Control No Visible After Form INIT
- Next by Date: Re: ActiveX Control No Visible After Form INIT
- Previous by thread: Re: How to prevent creating a big exe file.
- Next by thread: Re: How to prevent creating a big exe file.
- Index(es):
Relevant Pages
|
Loading