Delphi 2009: How to communicate between Windows service & desktop application under Vista?

The way to go is named pipes, you’ll probably have to take a look at the communication across different Integrity levels.

This article explores how to do this in vista. Although it’s written in c++ it’s just basic Windows API calls, so it should translate fast enough to Delphi.

If you want to search for more on this subject, this communication is called Inter Process Communication, but a better search term is IPC.

Leave a Comment