>>>>>>>>>>>>>>>>>
thanks for the answer I tried this method (clear debug info) isn't there any other way to make exe's to smaller eg.like in clipper .OVL or etc. or is it true or logical that use one app for exe file eg.simple prg for calling start.exe which contains do mainmenu.app code..
>>>>>>>>>>>>>>>>>
If you had a small program that called your main one you'd still had a main big one, wouldn't you?
AFAIK you cannot do overlays ala Clipper where only the fuinctions you want get pulled into memory or swapped with other ones.
If you want to reduce EXE size, besides not included the debug info as mentioned (then your error log won't include line numbers), you should also check you libraries for bloat (pack your VCX files) and for bloated hierarchies. It depends a lot in how you package your VCX as each project & compile will pull in code from other objects that are in your class libraries even though you might never use it.
Anyway, EXE of 8-10 Mb or even bigger are quite common.