[DUG] UAC control
Ross Levis
ross at stationplaylist.com
Sat May 1 23:17:48 NZST 2010
Named pipes won't be blocked by a firewall, I'm just concerned about the
Vista and Win7 security system which blocks memory sharing between elevated
and non-elevated programs.
I was thinking of simply using a text file to send data back and forward if
that is the only other option.
I'll investigate named pipes. Hopefully I can send a fixed record structure
this way.
Ross.
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Paul
Sent: Saturday, 1 May 2010 11:48 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] UAC control
If you can get it working using sockets, then this should work also.
I've never seen named pipes blocked by a firewall
Paul
----- Original Message -----
From: Ross Levis <mailto:ross at stationplaylist.com>
To: 'NZ Borland <mailto:delphi at delphi.org.nz> Developers Group - Delphi
List'
Sent: Saturday, May 01, 2010 12:59 PM
Subject: Re: [DUG] UAC control
Can this work when one app is elevated and another is not? I had problems
with memory sharing via a virtual memory mapped file not working because of
this.
Ross.
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Paul
Sent: Saturday, 1 May 2010 9:32 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] UAC control
A listening socket is normally blocked by firewalls and virus scanners.
Use named pipes instead.
Paul
----- Original Message -----
From: Ross Levis <mailto:ross at stationplaylist.com>
To: delphi at delphi.org.nz
Sent: Saturday, May 01, 2010 4:49 AM
Subject: [DUG] UAC control
I'm back to this subject again.
I released a new version of my software using the TCP server/client method
to communicate with a separate elevated app where I do my HKLM writing etc.
But this is turning out to be a nightmare with firewalls.
The proper method is to write a DLL which does something to trigger elevated
privileges. I'm hoping someone could send me example DLL code I can use to
do this, and the code to call it from my app. I'm not experienced writing
and using DLL's.
Many thanks,
Ross.
_____
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
_____
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100501/3a1bca63/attachment.html
More information about the Delphi
mailing list