Can not create name pipe in *.api, have the access denied error
Dear All,
I just want to create a name pipe in *.api for adobe reader as follow, by using visual C++.
hPipe = CreateNmaedPipe(L"\\\\.\\pipe\\my_pipe", PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_NOWAIT, PIPE_UNLIMITED_INSTANCES, 4096, 4096, 1000, NULL);
and put *.api in the adobe plugin, open adobe and call this.
But hPipe will return INVALID_HANDLE_VALUE and GetLastError as 5, Access Denied.
If I only run the is code in invidual c++ project and run it directly, it can be successful. Anyone has this idea?
Thanks,
Tony
