FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour .RC dialogs and images limit!?
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
.RC dialogs and images limit!?
Posted: Fri Sep 26, 2008 05:14 PM
James Bott wrote:Julio,

>In the second, the size of the executable will grow a lot.

Why is this a problem? The other way (using a DLL) the total size is probably similar (DLL + EXE). If you make any changes to the DLL you will still have to distribute the same size ZIP or install.

Regards,
James

James,

Yes, you are right! But my concern is the time to load a big executable in memory into machines with low memory.
I don't know... Still looking for a better solution... or choice!
Thanks james!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
.RC dialogs and images limit!?
Posted: Fri Sep 26, 2008 05:17 PM
Antonio Linares wrote:Julio,

Personally I prefer to work with RC files, as they are ascii files that can be edited with a source code editor (to search, do replacements, copy and paste, etc.)


Antonio,

Many people say me the same solution. And splitting the .rc into several files apparently is the great choice!
My afraid is the size of executable when is load into memory... the time!

Thanks very much Antonio!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
.RC dialogs and images limit!?
Posted: Fri Sep 26, 2008 06:06 PM

Harvey,

I am really curious about the answer you will get.
Regards,
Otto

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
.RC dialogs and images limit!?
Posted: Fri Sep 26, 2008 08:28 PM

Julio,

The DLL also gets loaded into memory so there is still no size difference. When the RAM is not large enough, portions of the contents of the RAM are spooled out to disk and this will happen regardless of whether you are using a DLL and an EXE or just an EXE.

You really should recommend a certain size RAM as the minimum requirement for your application. Then if you have users without that minimum that are complaining about speed, you can refer to your requirements.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
.RC dialogs and images limit!?
Posted: Fri Sep 26, 2008 11:13 PM

Júlio,

Windows does not load the entire EXE in memory at once. It loads different blocks, as they are needed.

Also memory management is optimized with cache use, memory pagination to disk as James has explained, etc.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion