string tables
-
I know what a string table is and how to use it. My question is -- is it worth it? Do those strings remain on disk and LoadString() reads them from there, or are they really loaded into ram memory during program startup?
-
I know what a string table is and how to use it. My question is -- is it worth it? Do those strings remain on disk and LoadString() reads them from there, or are they really loaded into ram memory during program startup?
Strings table are embedded inside the executable image (the .EXE file), that gets loaded to virtual memory at program startup. It is the processor's responsibility to bring virtual memory pages to RAM or store them in the disk cache (the swapping file) depending on whether the pages are being referred to or not (and some other optimization policies); so the question of whether the string table is loaded into memory or not is a fuzzy subject --probably it won't get loaded if you don't use resource at all. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
Strings table are embedded inside the executable image (the .EXE file), that gets loaded to virtual memory at program startup. It is the processor's responsibility to bring virtual memory pages to RAM or store them in the disk cache (the swapping file) depending on whether the pages are being referred to or not (and some other optimization policies); so the question of whether the string table is loaded into memory or not is a fuzzy subject --probably it won't get loaded if you don't use resource at all. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
Joaquín: very educative!!! I am surprised!!! CLAP, CLAP, CLAP!!! ;) ;) ;) Regards.... The programmer's national anthem is 'AAAAAAAARRRRGHHHHH!!'. Carlos Antollini. Sonork ID 100.10529 cantollini
-
Joaquín: very educative!!! I am surprised!!! CLAP, CLAP, CLAP!!! ;) ;) ;) Regards.... The programmer's national anthem is 'AAAAAAAARRRRGHHHHH!!'. Carlos Antollini. Sonork ID 100.10529 cantollini
You'll make me blush :-O Actually, there are inaccuracies in my explanation --read only sections of the executable probably won't ever do it to the swapping file (they're retrieved directly from the .EXE file itself and simply dismissed when not needed), and stuff like that. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo