Use Manifest to identifies the privilege level.
-
Hello, I have a problam : my program is work well at windows xp but not at windows 7 (I'm opening a file to write and read). I created a manifest with: I added the manifest to the project by: Properties->Manifest Tool->Input and Output and adding the name of the manifest file under Additional manifest files. (I followed the MSDN instructions "Create and Embed an Application Manifest (UAC)") but its don't work , does anyone can halp me with this? thanks
-
Hello, I have a problam : my program is work well at windows xp but not at windows 7 (I'm opening a file to write and read). I created a manifest with: I added the manifest to the project by: Properties->Manifest Tool->Input and Output and adding the name of the manifest file under Additional manifest files. (I followed the MSDN instructions "Create and Embed an Application Manifest (UAC)") but its don't work , does anyone can halp me with this? thanks
-
Project settings -> Linker -> UAC-Level. Better is writing your file to the user dir. Remember: you cant access the dir that you dont own. :-O
Press F1 for help or google it. Greetings from Germany
-
Thank you, it's work wall this way, can you give me more detail about "Better is writing your file to the user dir. Remember: you cant access the dir that you dont own" I'm a new programer. thanks again
I found an article from the legendary Mark Russinovich: http://technet.microsoft.com/en-us/magazine/2007.06.uac.aspx which is really worth reading and understanding. Believe me investing one or two hours to understand it is good invested time. You wont regret it, thats how Windows works. Or this one http://www.codeproject.com/KB/vista-security/UAC\_\_The\_Definitive\_Guide.aspx in which I found the link.
Press F1 for help or google it. Greetings from Germany