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. Common Control Manifest File

Common Control Manifest File

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebuggingannouncement
3 Posts 2 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.
  • R Offline
    R Offline
    RichardS
    wrote on last edited by
    #1

    Hi All, I have a application that uses buttons, combo box's etc. Using VS2005 Express in debug mode, all the controls are in the XP theme. But if I build the same image in release mode, the controls revert back to 95/98 controls. Now if I make the linker not embed the manifest, then I add the following lines to the manifest file: And all is well. But now, how do I get the linker to embed it in the exe? regards, Rich "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

    J 1 Reply Last reply
    0
    • R RichardS

      Hi All, I have a application that uses buttons, combo box's etc. Using VS2005 Express in debug mode, all the controls are in the XP theme. But if I build the same image in release mode, the controls revert back to 95/98 controls. Now if I make the linker not embed the manifest, then I add the following lines to the manifest file: And all is well. But now, how do I get the linker to embed it in the exe? regards, Rich "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

      J Offline
      J Offline
      James R Twine
      wrote on last edited by
      #2

      You add the manifest file to the executable's resources with a specific Resource Type (that I cannot remember at the moment, but a Google search should help you out here).    You could also place the manifest file in the same run directory as the executable when it is deployed and that will work, too.    Peace! -=- James


      If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
      Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
      DeleteFXPFiles & CheckFavorites (Please rate this post!)

      R 1 Reply Last reply
      0
      • J James R Twine

        You add the manifest file to the executable's resources with a specific Resource Type (that I cannot remember at the moment, but a Google search should help you out here).    You could also place the manifest file in the same run directory as the executable when it is deployed and that will work, too.    Peace! -=- James


        If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
        Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
        DeleteFXPFiles & CheckFavorites (Please rate this post!)

        R Offline
        R Offline
        RichardS
        wrote on last edited by
        #3

        Thanks. I have taken the later option, but now run against the problem where people will complain if they have to copy 2 files (the previous version was just an exe). Do you know how to add it to the resources using VS2005 Express? Express complains that it is not able to edit resources when I tried to open a .rc file. regards, Rich "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook

        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