Could you just use a TCP/IP socket? A bit more work, but no major problem...
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@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-boun...@delphi.org.nz [mailto:delphi-boun...@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.
_______________________________________________ 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