K
Karthikeyan
Hello ,
I have three components :
a (binary)
b (library)
c ( binary)
From a , I want to set a value of a variable in b .
From c, I want to access this variable .
The library is dynamically loaded. So far , I have tried using an
external variable in library b . However , the value I store is not
persistant across accesses in a and also in c. I get the same
initialized value . Any suggestion .
The problem looks more like an interprocess communication . But my
question is this dynamic library is used by both the processes and can
it be used to store persistancy ?
My friend actually told me to write to file in a and read from it in
'c' . I just wanted to ask the 'c' experts before using this file or
any IPC technique.
I have three components :
a (binary)
b (library)
c ( binary)
From a , I want to set a value of a variable in b .
From c, I want to access this variable .
The library is dynamically loaded. So far , I have tried using an
external variable in library b . However , the value I store is not
persistant across accesses in a and also in c. I get the same
initialized value . Any suggestion .
The problem looks more like an interprocess communication . But my
question is this dynamic library is used by both the processes and can
it be used to store persistancy ?
My friend actually told me to write to file in a and read from it in
'c' . I just wanted to ask the 'c' experts before using this file or
any IPC technique.