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