Elevation or not?

Just starting out? Need help? Post your questions and find answers here.
Poltergeist
User
User
Posts: 26
Joined: Fri Jul 14, 2006 10:27 pm

Elevation or not?

Post by Poltergeist »

This gonna sound stupid, probably, but

I wrote a program which needs elevation. I used the "request Administrator mode for Windows Vista and above" and this works. However, I needed the program to start not elevated, and than be restarted elevated, so I used the code from http://www.purebasic.fr/english/viewtop ... te#p310797. At first this seems to work, but now I noticed the program still has an "elevationshield" in it's icon, and the program is started elevated immediatly, eventhough the option "Request administrator mode..." is turned off.

What am i doing wrong here? Is there some setting I forgot? There is no setting at the end of the sourcefile...