Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Execeutable Size Limit
Tue, May 29 2007 3:52 PMPermanent Link

Mauricio Campana Nonino
Somebody knows if it has a limit for the size of the executable in Windows 98? My program exceeded this limit and now it does not function more in
this OS.

Thanks for any help.

Mauricio Campana Nonino
Nonino Software
Tue, May 29 2007 6:25 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mauricio,

<<  Somebody knows if it has a limit for the size of the executable in
Windows 98? My program exceeded this limit and now it does not function more
in this OS. >>

I don't think there is a limit, but there may be resource limitations
(handles, etc.):

Search Google Groups on "exe size limit windows"

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, May 30 2007 3:20 AMPermanent Link

"Erik"
Mauricio

There is a limit:  10 Mb
We exceeded this limit also.

There are several options:
+ strip code , or rewrite (parts of) your code to reduce the amount of code.
+ use BPL / DLL (this is what we did)
+ drop Win95/Win98/WinME systems and only use Win2000, WinXP and Vista (the
old one's are not supported by Microsoft anyway)


regards,

Erik

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> schreef in bericht
news:5A63BF6C-89F8-4779-B803-0A8BFC629045@news.elevatesoft.com...
> Mauricio,
>
> <<  Somebody knows if it has a limit for the size of the executable in
> Windows 98? My program exceeded this limit and now it does not function
> more in this OS. >>
>
> I don't think there is a limit, but there may be resource limitations
> (handles, etc.):
>
> Search Google Groups on "exe size limit windows"
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>

Wed, May 30 2007 5:44 AMPermanent Link

"Iztok Lajovic"
>
> There is a limit:  10 Mb
> We exceeded this limit also.
>
> There are several options:
> + strip code , or rewrite (parts of) your code to reduce the amount of
> code.
> + use BPL / DLL (this is what we did)
> + drop Win95/Win98/WinME systems and only use Win2000, WinXP and Vista
> (the old one's are not supported by Microsoft anyway)


Maybe use of code compressors like ASPack ( http://www.aspack.com ) could
solve this problem

Iztok Lajovic

Wed, May 30 2007 7:26 AMPermanent Link

Mauricio Campana Nonino
Erik

<<There is a limit:  10 Mb We exceeded this limit also.>>

Yes, that's what I thought.
Application runs fine on 9.8 Mb, but no longer works when 10.1 Mb.
I'll see what I can do.
Thanks for sharing.

Mauricio Campana Nonino
Nonino Software


Wed, May 30 2007 8:22 AMPermanent Link

"Harry de Boer"
We use ASPack. Cheap, reliable, protects your code and as an average it
reduces the exe's size to 30%

Regards, Harry

"Erik" <bellaard@wega.nl> schreef in bericht
news:44418A13-FD1F-40CF-9B21-6458E89B54AA@news.elevatesoft.com...
> Mauricio
>
> There is a limit:  10 Mb
> We exceeded this limit also.
>
> There are several options:
> + strip code , or rewrite (parts of) your code to reduce the amount of
code.
> + use BPL / DLL (this is what we did)
> + drop Win95/Win98/WinME systems and only use Win2000, WinXP and Vista
(the
> old one's are not supported by Microsoft anyway)
>
>
> regards,
>
> Erik
>
> "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> schreef in
bericht
> news:5A63BF6C-89F8-4779-B803-0A8BFC629045@news.elevatesoft.com...
> > Mauricio,
> >
> > <<  Somebody knows if it has a limit for the size of the executable in
> > Windows 98? My program exceeded this limit and now it does not function
> > more in this OS. >>
> >
> > I don't think there is a limit, but there may be resource limitations
> > (handles, etc.):
> >
> > Search Google Groups on "exe size limit windows"
> >
> > --
> > Tim Young
> > Elevate Software
> > www.elevatesoft.com
> >
>
>

Wed, May 30 2007 9:33 AMPermanent Link

"Jose Eduardo Helminsky"
Mauricio

try using UPX. http://upx.sourceforge.net

It is a executable compress (and still runnable).
It is free.

I´ve been using UPX since 2003 without any problems.

Eduardo

Wed, May 30 2007 12:46 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Erik,

<< There is a limit:  10 Mb We exceeded this limit also. >>

Do you have a link to MS for this ?  I'm just curious as to what the magic
is behind 10Mb. Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, May 30 2007 1:00 PMPermanent Link

Mauricio Campana Nonino
Hello everybody.

Just an important update: it was just a coincidence software stop to execute on 10 mbytes. The problem is related to:

"...but Win9x has a limit on the number and total size
of named resources in an executable (forms are named resources, for example).
The only cure is to split the application into several executables since this
is a per-executable limit. The first step is to build the application with
run-time packages.."

Thanks all for the sugestions,

Mauricio Campana Nonino
Nonino Software
Wed, May 30 2007 6:17 PMPermanent Link

Dave Harrison
Mauricio Campana Nonino wrote:

> Hello everybody.
>
> Just an important update: it was just a coincidence software stop to execute on 10 mbytes. The problem is related to:
>
> "...but Win9x has a limit on the number and total size
> of named resources in an executable (forms are named resources, for example).
> The only cure is to split the application into several executables since this
> is a per-executable limit. The first step is to build the application with
> run-time packages.."
>
> Thanks all for the sugestions,
>
> Mauricio Campana Nonino
> Nonino Software
>

You could of course use DLL's or compile your application with runtime
packages.

Dave
Image