named file mapping problem (beginner on security)
From: Roberto (e.degroote@student.utwente.nl)
Date: 06/28/02
- Next message: Shenan: "Re: Releasing IP Address"
- Previous message: x y: "Re: Controlling Ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Roberto" <e.degroote@student.utwente.nl> Date: Fri, 28 Jun 2002 14:17:31 +0200
Hello,
I have two processes that need to communicate using IPC, I'm using named
file mapping for that purpose... But when I have the first process setup a
mapped file using CreateFileMapping, and then let the other process try to
open a file-mapping by using OpenFileMapping, the other process doesn't find
the file-mapping object. I've checked and double-checked the names, they're
identical. I think the problem is that in calling CreateFileMapping, I pass
NULL in the lpSecurityAttributes parameter.... Am I right here? If so, how
must I setup the security attributes?
I'm developing the system in win98, but I'm testing the system on win2000.
So the only functions I'm using right now for security are
InitializeSecurityDescriptor, and the SetSecurityDescriptor.....-functions.
Thanks in advance for any help!
Robert de Groote
- Next message: Shenan: "Re: Releasing IP Address"
- Previous message: x y: "Re: Controlling Ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]