Is MFC resources occupy memory?
-
-
I mean, at run time, an exe file is loaded into memory. then a MFC program's resources, like string tables, bmp pictures,user-defined text files are they allocated memory space address statically? and loaded/linked into process/program address space?
-
I mean, at run time, an exe file is loaded into memory. then a MFC program's resources, like string tables, bmp pictures,user-defined text files are they allocated memory space address statically? and loaded/linked into process/program address space?
I found this in Charles Petzold programming windows book: Resources are data and they are often stored in a program's .EXE file, but they do not reside in the executable program's data area. In other words, the resources are not immediately addressable by variables in the program's code. Instead, Windows provides functions that explicitly or implicitly load a program's resources into memory so that they can be used.