You don't necessarily need to. The important difference to keep in mind is having a "requestedExecutionLevel" in your Manifest file - even if set to "asInvoker" (which usually will mean you'll run with Standard User rights, thus requiring no kind of authorization dialog) - as opposed to having none at all. As the table at the MSDN link i provided lists, Virtualization *only* takes place in case you have no "requestedExecutionLevel" entry in your manifest at all - basically, you're telling Windows "Yes, I'm aware of that UAC thingie", without actually specifying how you gonna behave when you run into those "OS-proteced areas". Of course, having requestedExecutionLevel level="asInvoker" will mean that your app will run restriced, and as such, will fail saving files in those "OS-protected areas" (you could still save them elsewhere, though) - which is still 1000x better than having this hidden mess called Virtualization.
As stated in my first post, a real solution for any truly UAC-aware app would be to run restriced first as stated above and detect necessary elevations in case they're needed, offering some kind of "You're trying to save a file in an OS-proteced location. Restart with elevated rights?" type of dialog. And as the MSDN-article also states, not only will UAC stay in any subsequent Windows versions, but they're likely to "beef up" security - so it's better for PSPad to adapt sooner than later. -- <http://forum.pspad.com/read.php?4,51494,51503> PSPad freeware editor http://www.pspad.com
