[DUG] IPC with an elevated program
David O'Brien
Dave at iccs.co.nz
Tue Jan 19 13:41:45 NZDT 2010
Could you just use a TCP/IP socket?
A bit more work, but no major problem...
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Ross Levis
Sent: Tuesday, 19 January 2010 1:26 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] IPC with an elevated program
I don't really want global shared memory. The reason for the small app
is to have the UAC prompt appear when I need to make changes to the HKLM
registry, which is very rare. There is a standard way to do this but it
sounds difficult. Some sort of DLL needs to be created I believe.
Ross.
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Alan Rose
Sent: Tuesday, 19 January 2010 8:55 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] IPC with an elevated program
If you want to to use shared memory in Vista and above its best to write
a service to create global shared memory that all users can access. The
key here is global shared memory and with the right security bits set.
Best to Google global shared memory for more info.
heres one link I found that maybe helpful
http://social.msdn.microsoft.com/Forums/en-US/windowssecurity/thread/08e
18474-5f8c-4294-a9cf-7ede1ff8ae1f/
>> But since Vista SP1 or SP2, Microsoft appears to be preventing
shared memory access between an app with standard privileges and one
with elevated. I've been wondering why some users have been reporting
odd problems and this appears to be it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100119/afb86a2b/attachment.html
More information about the Delphi
mailing list