CatWithGlasses
CatWithGlasses

Reputation: 1563

Is it possible using memory writing to invoke actions on another applicaiton

I really have a hard time figuring out the title for this, but basically There is independent map application(similar to gmaps), each time I open it reads the coordinates from text file and shows the labels on map. You can add the labels to the map yourself and it saves them to the coordinate file after you close the application.

Question: is there a way I can make it so that my application puts the labels on the map using some kind of memory writing? I can use the coordinate file for that application and write the coordinates there, but I want the labels show up without re-opening the application.

Upvotes: 0

Views: 75

Answers (1)

Panu
Panu

Reputation: 362

In general this is not possible because writing to the memory area reserved of other application is prohibited by operating system and by processor architechture. If you have unprivileged access to memory this would be possible, but unpractical in reality.

You need some inter-process communication, but this requires support from both applications.

Upvotes: 1

Related Questions