Memory Mapped File and Win Service - Cannot find File Created By Server

强颜欢笑 提交于 2019-12-04 22:45:51

You might need to prepend the MMF name with @"Global\". I believe the newer versions of Windows runs services under a different session than other apps.

I saw references to the following article: Impact of Session 0 Isolation on Services and Drivers in Windows

You might also need to modify the Local Security Policy "Create global objects", depending on what user account you are running your windows app from.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!