简体   繁体   中英

acces global mutex/semaphore from user application without admin rights

I'm trying to get Process A to send a array towards Process B and figured I would do this through IPC. I've managed to get everything working until the point where they have to acces the same Memory mapped file.

After reading upon different ways to do this I found mutexes and semaphores to best the best way without relying on 3rd party software. But the main thing is that Process A is an application that cannot be run with admin rights, but Process B is a windows service running in the local system enviroment. So I tried creating global mutexes and semaphores but they dont seem to cut it. because these require admin rights to acces from my user application.

So how would one create a mutex or semaphore for this kind of situation?

I apologize in advance for my english and question format(first time poster).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM