Hi All,
I've got a C++ service which provides a named pipe to clients with a NULL SECURITY_ATTRIBUTES as follows:
hPipe = CreateNamedPipe( lpszPipename, PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_WAIT,
PIPE_UNLIMITED_INSTANCES, BUFSIZE, BUFSIZE, 0, NULL);
There is a dll which uses this pipe to get services.
There is a c# GUI which uses the dll and works fine.
There is a .net web site which also uses this dll (the exact same one on the same PC) but always gets permission denied when it tries to open the pipe.
Any one know why this might happen and how to fix it?
Also does anyone know of a good tutorial on SECURITY_ATTRIBUTES because I haven't understood the msdn info yet.
Thanks, Patrick