.RC dialogs and images limit!?

Postby JC » Fri Sep 26, 2008 5: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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Postby JC » Fri Sep 26, 2008 5: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
User avatar
JC
 
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil

Postby Otto » Fri Sep 26, 2008 6:06 pm

Harvey,

I am really curious about the answer you will get.
Regards,
Otto
User avatar
Otto
 
Posts: 6145
Joined: Fri Oct 07, 2005 7:07 pm

Postby James Bott » Fri Sep 26, 2008 8: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41469
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 125 guests

cron