From: SourceForge.net <no...@so...> - 2009-10-06 08:05:52
|
Bugs item #2868266, was opened at 2009-09-27 11:00 Message generated for change (Comment added) made by jmichae3 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2868266&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: binutils Group: Vista Issue Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jim Michaels (jmichae3) Assigned to: Nobody/Anonymous (nobody) Summary: embedding manifest not supported (windows 7) Initial Comment: http://msdn.microsoft.com/en-us/library/ms235591%28VS.80%29.aspx this msdn article outlines how in VC++ you add manifest to an executable using microsoft's mt command (mingw needs a similar command) so an EXE or DLL will be recognized properly by vista & windows 7's UAC. to show the strange effects (filesystem virtualization) of not using a manifest in your DLL's and executables, check this out: http://wiki.filezilla-project.org/FZ_UAC Also, NSIS installer added a new command for Vista/7 compatibility which may be relevant to gcc: RequestExecutionLevel ---------------------------------------------------------------------- >Comment By: Jim Michaels (jmichae3) Date: 2009-10-06 01:05 Message: I have since learned that adding a manifest is as simple as adding a windows resource to the executable. check out my web page on the subject at http://jesusnjim.com/programming/common-compiler-switches.html I have attached a batch file that I use to commonly compile executables. if you specify -manifest, the batch file queries you for strings needed to fill out the manifest xml file it generates. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2868266&group_id=2435 |