[DUG] IPC with an elevated program
Kyley Harris
Kyley at harrissoftware.com
Tue Jan 19 13:39:13 NZDT 2010
I just use TCPIP for everything.. then it doesn't matter where the stuff is
residing and its as simple as you can get for communicating.
On Tue, Jan 19, 2010 at 2:13 AM, Ross Levis <ross at stationplaylist.com>wrote:
> 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
>
--
Kyley Harris
Harris Software
+64-21-671-821
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100119/79073176/attachment.html
More information about the Delphi
mailing list