how large is your exe file anyway; nowadays we run apps of 13mb exe
files but with no problems at all; i think the amount of memory a
program uses doesnt really depend on the size of the exe file; but more
on how the forms and other resources are created and released. clever
programming will make you be able to run even up to 20mb exe's with no
problem at all
with that said, I think it makes sence diving a program across
functional lines not just because of size, ie if there is a shared
function between two apps of the same family it makes sence to put it
outside, not just because the two apps are big.
compiling with the runtime outside would give you an automatic 20mb
increase in size; id only recommend that if all your exe files put
together comes to more than 20mb; because the extra headache of version
control and managing bpls can become quite a nightmare
so remember, gone are the days of 640mb - right now 64 or 128 mb, if
your app takes more than 5kb (on task manager) consider looking at the
code; more than 20kb that's pretty large (unless you know what you are
doing) when it hits 50kb and you are sure there are no memory leaks and
all that stuff consider splitting
hope all that "stuff" helps!
Roberto Freitas wrote:
> Hi,
> Sometimes a program becomes so large (and actually with many different
> interconnected functions) that it would be interesting to divide it
> into parts or modules.
> For example, a management enterprise application. It has accounting,
> payroll, stock, etc, each one is an application itself.
> I would like to have a very small PROGRAM1.EXE with just a menu: after
> calling this first program, the user could choose on the menu the
> actual application he is interested on. Then, PROGRAM1.EXE, someway,
> would call accounting program, or payroll program, etc
> It's interesting because not ALL clients want to use ALL functions, so
> we can dispose modules accordingly.
> How to do it using Delphi?
>
>
>
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [EMAIL PROTECTED]
> Yahoo! Groups Links
>
>
>
>
>
>
>
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
YAHOO! GROUPS LINKS
- Visit your group "delphi-en" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

