我在windows 2000 server系统下做的Service和某程序通过内存共享传递信息,是完全正常的。今天拿到windows 2003 server系统下却不能共享的。请告诉我为什么会这样?有什么解决方法?谢谢

解决方案 »

  1.   

    2003 server 的内存机制和2000 SER是不一样的,我也只知道这些了,2003 SER是为WEB 和.NET设计的
      

  2.   

    the following article might be helpfulDevelopment Impacts of Security Changes in Windows Server 2003
    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....."