Click to See Complete Forum and Search --> : File division


hometown
October 20th, 2003, 04:37 AM
Supposing that I have a big exe file, could you tell me if there is any way to make my big file smaller ?
I am sorry if my questions sound like waste...but I just dont know about that and Thanks a lot for your answers,:)

Hometown

usmarine
October 20th, 2003, 04:55 AM
Break the file up into different applications or add some of the functionality to a dll.

Or you could modify some of the optiminzation flags which might reduce the size some.

hometown
October 20th, 2003, 05:14 AM
Thanks USMarine alot...


Originally posted by usmarine
Break the file up into different applications or add some of the functionality to a dll.

Or you could modify some of the optiminzation flags which might reduce the size some.

But what is 'optimization flags' ?

Hometown

Doctor Luz
October 20th, 2003, 07:54 AM
haven't you heard about WinZip? :cool:

Well I suppose you are talking about decreasing the size of a compiled .exe? true?

For example in Visual C++ in the project settings you can select the C/C++ tab and select the 'optimization' flag to "minimize size".
I suppose other programs have a similar way for optimize the size.

Also you can decrease the .exe size changing the resources, for example use bitmaps with less color depth, remove unused resources, load bitmaps from file and not from resources, etc.

And don't forget to have a look to your code and try to optimize it.

dimm_coder
October 20th, 2003, 09:41 AM
Use an utility called upx. Search info via web.

hometown
October 20th, 2003, 01:44 PM
Thanks Doctor Luz and dimm_coder alot,
:)

Regards,

Home