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. Graphics
  4. benefit of Map File in Visual C++ ???

benefit of Map File in Visual C++ ???

Scheduled Pinned Locked Moved Graphics
c++question
5 Posts 2 Posters 5 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.
  • M Offline
    M Offline
    Miss_ Petrovna
    wrote on last edited by
    #1

    hi... i would like to ask about the benefit of map file in VC++, map file can be created with building process of program.i have read one related to my program but i couldn't understand the information it contains. what is the benefit of this file? and in what we can use its information? Regards :) maria

    L 1 Reply Last reply
    0
    • M Miss_ Petrovna

      hi... i would like to ask about the benefit of map file in VC++, map file can be created with building process of program.i have read one related to my program but i couldn't understand the information it contains. what is the benefit of this file? and in what we can use its information? Regards :) maria

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      A linker optionally generates a map file, typically listing all the modules that were used to generate the output file (DLL, EXE, whatever), the global symbols that got resolved, and their addresses and sizes in memory. This can be helpful when you need to debug either the build process itself or the application. With Visual Studio the build process is quite reliable. With Visual Studio you typically get symbolic information through the PDB file. And with .NET languages, you typically get adequate Exception information. As a result, map files are not needed much nowadays for desktop SW development. :)

      Luc Pattyn


      try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


      M 1 Reply Last reply
      0
      • L Luc Pattyn

        A linker optionally generates a map file, typically listing all the modules that were used to generate the output file (DLL, EXE, whatever), the global symbols that got resolved, and their addresses and sizes in memory. This can be helpful when you need to debug either the build process itself or the application. With Visual Studio the build process is quite reliable. With Visual Studio you typically get symbolic information through the PDB file. And with .NET languages, you typically get adequate Exception information. As a result, map files are not needed much nowadays for desktop SW development. :)

        Luc Pattyn


        try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


        M Offline
        M Offline
        Miss_ Petrovna
        wrote on last edited by
        #3

        thank U Luc Pattyn for UR information about my question.. now and by UR nice information i became know what is the map file.. thanx a lot maria:)

        L 1 Reply Last reply
        0
        • M Miss_ Petrovna

          thank U Luc Pattyn for UR information about my question.. now and by UR nice information i became know what is the map file.. thanx a lot maria:)

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          Hi Maria, you're welcome. I forgot one, rather obvious, aspect: on most linkers, the map file is a text file, that you can open using a text editor... :)

          Luc Pattyn


          try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


          M 1 Reply Last reply
          0
          • L Luc Pattyn

            Hi Maria, you're welcome. I forgot one, rather obvious, aspect: on most linkers, the map file is a text file, that you can open using a text editor... :)

            Luc Pattyn


            try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


            M Offline
            M Offline
            Miss_ Petrovna
            wrote on last edited by
            #5

            Thank U again Luc Pattyn:rose:... yes i have openned one of these files (map files) using text editor.. :) maria

            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