I remember passing thru that thread a few days ago.
But that's too complex for me
I'm making a simple program, no graphic interface, a single .c file...
I have no idea about what a manifest file is.
This post was edited on 01-20-2009 at 11:26 PM by Chancer.
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
RE: RE: Require admin rights in a C program
quote:Originally posted by Chancer
I remember passing thru that thread a few days ago.
But that's too complex for me
I'm making a simple program, no graphic interface, a single .c file...
I have no idea about what a manifest file is.
The manifest file is what you need to require admin rights
It's only used in compiling the program, it's not a seperate file that has to be used/distributed with the program
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
RE: RE: Require admin rights in a C program
quote:Originally posted by Chancer
Do I have to install Visual Studio do to that?
Because I'm making a 20 line console program (which 4 are real commands, others are a simple text-interface). I don't think it'd worth...
Edit: I've just accidentally deleted the source code
If you do re-discover your source code, then the only way without visual studio (that i know of) is to right click on the program and do "run as administrator".....or go to its compatibility tab and check the 'run as administrator' box.
what are you using to compile it if not visual studio?