epoc environment variables
| Sun, 2008-02-03 22:25 | |
|
Is it possible to create own user environment variables in the emulator (like you do in Unix/DOS/Windows)? If answer is yes, is it possible to set these at commandline or in epoc.ini? ... I was thinking of something like this: ...or in worst case some key/value in epoc.ini A more complicated way is to create a .ini file somewhere in the epoc filesystem that can be read by all processes that needs it. ...but I was hoping for a better solution. |
|






Forum posts: 981
Why not use publish and subscribe or central repository ? (as the answer to your question is no)
pirosl
Forum posts: 1156
Yes.. use P&S
You could see P&S as "environment variables on steroids".
They provide the same functionality as environment variables, but are a lot more efficient, plus they can be observed, and they take predictable time to set, so usable for RT applications.
Forum posts: 2
Thanks for your answers. I will probably get use of publish & subscribe.
If I've understood RProperty correctly it's mainly for communicating between processes and is created at runtime. However since I'm not in control of the startup order of the various servers (some of them could be launched at system-boot) therefore this "property/variable" needs to be set before everyting starts.
I'm not sure how Central Repository works but isn't it limited to a specific UID (I'm writing a .dll invoked by different servers)? And is it even possible to edit central repository from Windows/DOS?