Sometimes (but not always for some reason), when I close the application I get the Windows Program Compatibility Assistant popping up asking whether my application installed correctly. Having googled, one answer seems to be to include a manifest in the exe, something like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!--The ID below indicates application support for Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<!--The ID below indicates application support for Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
</compatibility>
</assembly>
Is there a way of having the pbcompiler do it, or is it something I would have to do to the binary afterwards using separate tools?
(I'm currently compiling this project using the IDE command line parameters, to build separate sets of 32 and 64bit binaries, if that makes any difference.)
Thanks for any help on this one...