I use Mailslots (in Delphi 7) for inter-programs dialog and all is OK.
But when I use one of my program (in Windows XP) as Windows service I have a message "Mailslot Access Denied", when another (classical admin user's) program try to write to the mailslot. I Understand that it is surely a rights problem since service have SYSTEM rights but...what is the solution ?
When calling
CreateMailslot()
, specify aSECURITY_DESCRIPTOR
that allows all access to the mailslot, eg: