windows - share variable value between C programs -


this question has answer here:

i trying share variable value between 2 c programs run independently each other therefore each of uses separate memory, used share.h header file extern statement not work, used txt file write variable 1 c program , read 2nd c program there there sync problems , permission problem read file, ideas how solve issues or how share variable value?

i dont think possible adding headers 2 programs have there own memeory space. cant communicate both adding headers.

you need use ipc mechanism

on side note:

extern used share variables between 2 c files part of same program, cannot use between 2 different programs.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -