我在windows 2000 server系统下做的Service和某程序通过内存共享传递信息,是完全正常的。今天拿到windows 2003 server系统下却不能共享的。请告诉我为什么会这样?有什么解决方法?谢谢
解决方案 »
- 多线程编程,变量修改不了
- wininet如何才能阻止重定向?
- ??? 对话框上的菜单不能响应事件 ???
- P2P 关于NAT类型的问题?
- 关于MSCHART的问题,用过的高手请帮一下。
- 同一框架下多视的焦点切换问题
- 这个关键词是什么意思???(volatile)
- 请问怎样在对话框窗口中的Edit控件里按下Enter键后不要退出
- 谁有《visual c++ 多线程程序设计》里的那个关于用I/O完成端口Echo程序的源代码
- 请问各位大哥:没有Title Bar时怎么编写移动窗体的代码?
- 求教:PC机的串口发送的数据位数能不能为9位?
- 制作像IE一样的左边是工具栏窗口的树状列表,右边是一个MDI的主窗口
http://msdn.microsoft.com/library/en-us/dncode/html/secure06122003.asp?frame=truethe relevant parts are here:
"...Creating Various Global Objects May FailStarting with Windows Server 2003, the creation of some global objects, such as file mapping will fail unless the calling process has the SeCreateGlobalPrivilege privilege enabled. Note that the privilege check is limited to the creating of said objects, and does not apply to opening existing ones. For example, the following code will fail on Windows Server 2003 unless the process account has this privilege:HANDLE hMap = CreateFileMapping(INVALID_HANDLE_VALUE,0,PAGE_READWRITE,
0, 0xFFFF,"Global\\MyMapping");By default this privilege is assigned to all services and administrators. This privilege also applies when creating symbolic links in the object manager. The way around this is to either grant the account in question this privilege, or do not make the object name global. Of course, the latter may not be possible....."