Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Is MFC resources occupy memory?

Is MFC resources occupy memory?

Scheduled Pinned Locked Moved C / C++ / MFC
c++performancequestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    econy
    wrote on last edited by
    #1

    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?

    CPalliniC T 2 Replies Last reply
    0
    • E econy

      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?

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Here you may find some info: "How are win32 executable resources handled?"[^].

      Veni, vidi, vici.

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • E econy

        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?

        T Offline
        T Offline
        Theo Buys
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups