Main reason is drag & drop doesn't work from Windows Explorer to an elevated
app.

Ross.

-----Original Message-----
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Jeremy North
Sent: Sunday, 2 May 2010 3:03 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] UAC control

Why not just include an administrator manifest and have you
application run with administrator privileges all the time.


On Sun, May 2, 2010 at 12:53 PM, Ross Levis <r...@stationplaylist.com>
wrote:
> Relaunching is not really an option, as it could be playing a media file
at
> the time a user could ask for a specific change which requires elevated
> access.
>
> What I may need to do is write all the code into my elevated app and use
> command-line parameters to execute the code and send the required info.
 And
> use ExitCode to return whether it was successful or not.  That may do the
> trick.
>
> Ross.
>
> -----Original Message-----
> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
On
> Behalf Of Paul Heinz
> Sent: Sunday, 2 May 2010 2:03 p.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] UAC control
>
> Hi Ross
>
>> I'm back to this subject again.
>
> I'm not sure if anyone has already indicated this discussion:
>
> The trick of launching yourself again as elevated with a command line
> parameter seems pretty straightforward if you're not comfortable with
> writing COM servers.
>
> http://stackoverflow.com/questions/923350/delphi-prompt-for-uac-elevatio
> n-when-needed
>
> Cheers,
>  Paul.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
> unsubscribe
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe
>

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to