[DUG] Sending data between process on same computer on windows

Alan Rose Alan at seabed.co.nz
Tue May 8 13:52:04 NZST 2007


You can still however share memory between a service and desktop app if
you create global shared memory. If you have the service create the
memory then you dont have to worry about the desktop app running at
admin level. 
 



________________________________

	From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz] On Behalf Of Myles Penlington
	Sent: Tuesday, 8 May 2007 11:30 a.m.
	To: NZ Borland Developers Group - Delphi List
	Subject: RE: [DUG] Sending data between process on same computer
on windows
	
	

	The reason behind the second one is security - which is even
tighter on Vista. You can no longer do a SendMessage to a process
running at a higher security level, and for that matter from a
interactive program to a service - all due to security restrictions that
have been added in recent years by M$ to stop viruses etc. E.g In Vista
you can no longer allow a service to interact with the desktop.

	 

	Things need to be running on the same window station (which is
the root of all security in windows). If you have processes running on
different window stations (which applies to services etc), then you will
have security issues.

	 

	Myles.

	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070508/c1aa333c/attachment.html


More information about the Delphi mailing list