• Advertisement
Sign in to follow this  

shared memory cross applications on c++

This topic is 3737 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi. i want to know if c++ supports shared memory arround applications. like shared notepad arround two different applications... or just shared memory/area on system ram. can i specify where to write on ram and access cross different applications. i think current pc structures support this but i dont know if any language supports it. thanks...

Share this post


Link to post
Share on other sites
Advertisement
This is actually not something that is directly dependent on a language but is a function that an operating system kernel will provide in its API. The term that you want to research is Interprocess Communications (IPC).

Share this post


Link to post
Share on other sites
You can also use the ReadProcessMemory function in the windows API to directly read the memory of any other (unsuspecting) process.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement