Prev: How to make a Dialog resizable
Next: HWND to LPVOID
From: JY on 16 Feb 2010 00:51 Hi, I use the XML sample shown in the section: "Building and Embedding a Manifest with Microsoft Visual Studio® 2005 for Windows XP and Windows Vista Applications" (from http://msdn.microsoft.com/en-us/library/bb756929.aspx) to create a manifest file and use it in Additional Manifest Files in the Project Properties. But I get a warning saying: Element "trustInfo" in an unrecognized namespace "urn:schemas-microsoft-com:asm.v2" What would be the correct way to do this using VS 2005? I want the application to run with administrator privileges on XP, Vista and Win 7. TIA, JY
From: Pavel A. on 17 Feb 2010 22:35 "JY" <sd(a)nospamgroup.com> wrote in message news:4EECF165-31CA-4BFF-8C78-1D80F902616B(a)microsoft.com... > Hi, > > I use the XML sample shown in the section: > > "Building and Embedding a Manifest with Microsoft Visual Studio® 2005 for > Windows XP and Windows Vista Applications" (from > http://msdn.microsoft.com/en-us/library/bb756929.aspx) to create a > manifest > file and use it in Additional Manifest Files in the Project Properties. > > But I get a warning saying: > Element "trustInfo" in an unrecognized namespace > "urn:schemas-microsoft-com:asm.v2" > > What would be the correct way to do this using VS 2005? I want the > application to run with administrator privileges on XP, Vista and Win 7. > > TIA, > JY Build a sample app in Visual Studio 2008 or newer, select requireAdministrator in the VC project options, then look at the intermediate manifest in the object dir. --pa
|
Pages: 1 Prev: How to make a Dialog resizable Next: HWND to LPVOID |