[DUG] IPC with an elevated program
Paul
paul.blommaerts at telenet.be
Tue Jan 19 02:41:27 NZDT 2010
I'm using named pipes without problems (Win7 and 2008 server)
Paul
----- Original Message -----
From: Ross Levis
To: 'NZ Borland Developers Group - Delphi List'
Sent: Monday, January 18, 2010 2:13 PM
Subject: [DUG] IPC with an elevated program
This is not strictly Delphi related but hope someone can help.
Since Vista came out I've been using a small program I wrote with a manifest to give it elevated privileges, so I can write to the HKLM registry when requested by any of my applications. I use a shared memory component (memory mapped file with no file) to communicate between an app and the small program which is loaded when required.
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.
So it appears I need an alternative method. I could use the elevated DLL method, but this seems complicated. I'm not an advanced programmer. It's a bugger as I spent quite a bit of time getting this working well when Vista first came out. I would prefer to continue using the small app, but it appears I need some other method for sharing text between 2 processes of different elevations. Does anyone know if this is possible?
I've heard that even PostMessage and SendMessage from a standard to elevated program does not work anymore.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100118/c9172292/attachment.html
More information about the Delphi
mailing list