Re: How to prevent creating a big exe file.



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 this
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?
Do you really need a .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


.



Relevant Pages

  • Re: Class termination
    ... It has everything to do with forms in the dll. ... The need to make the exe into an ActiveX. ... If your exe needs to reference a dll that is referencing it then ... you've got some *huge* problems in the design of your app. ...
    (microsoft.public.vb.general.discussion)
  • Re: ADOStream Write Causes Permission Denied Error
    ... My app is packaged using the Package and Deployment Wizard, ... prior version DLL. ... Do you think getting rid of the dll and have an Update EXE and the actual ... > If this is an ASP application, and authentication is Anonymous (no ...
    (microsoft.public.vb.general.discussion)
  • Re: file packer
    ... > c++ compiled program, some dll and some text files for my shaders, and I ... > want to pack all that in a single exe. ... it on the end of the exe, or put it in one of the COFF sections. ... files and linked with the app, this way, the data is allready in memory at ...
    (comp.compression)
  • Re: How best for dll to "report progress"?
    ... Probably that DLL is working inside AutoCad's process ... Ken also mentioned Ax exe but said that was also Out of process... ... in the Command Line and use WM_SETTEXT to talk back from the pure VB ... App to the Textbox in AutoCad. ...
    (microsoft.public.vb.general.discussion)
  • Re: Editors
    ... some strip them on exe files by default. ... "preferred base address" and, yup, relocations are completely ... DLL files, though, aren't loaded into their own address space but are ... EXE's "entry-point", though, is not "special" in that it's just an ...
    (alt.lang.asm)

Loading