It goes in your .rc file. Then when you compiler the project it's placed in the resources area of the executable. When you call inticommoncontrols(), usually the first thing you do on startup, the DLL will read the resources and find the manifest.And to include it, do I just add
Or do I have to include it with the project options, similarly to adding linker commands or including a resource (.rc) file.?Code:#include "style.manifest"
And is there anything I need to enable the style, or is it automatically done once included w/ the project?
You can also have the manifest as a freestanding file provided you name it according to their rules...
If your exe is MyProgram.exe ... you name the manifest MyProgram.exe.manifest This is ok mainly for testing. When you release the code, if they get separated the program will no longer display visual styles so the smart money is to get it into your .rc file right from the start.
You should also keep a copy of it someplace safe, since you're going to need it over and over again... pretty much in every project.