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. <br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 2:13 AM, Ross Levis <span dir="ltr"><<a href="mailto:ross@stationplaylist.com">ross@stationplaylist.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-NZ" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">This
is not strictly Delphi related but hope someone can help.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">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.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">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.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">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?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">I’ve
heard that even PostMessage and SendMessage from a standard to elevated program
does not work anymore.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">Thanks,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:#1F497D">Ross.</span></p>
</div>
</div>
<br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br><br clear="all"><br>-- <br>Kyley Harris<br>Harris Software<br>
+64-21-671-821<br>