06-01-2009 02:17 AM
I need the shared variable still keep its latest value after pc restart.
I tried on 2 pc, one is successful, the other not.
Any suggestion? Thanks.
06-01-2009 03:21 AM
06-01-2009 03:26 AM
06-01-2009 03:32 AM
I would imagine the content of shared variables are not stored anyway on the harddrive, so upon reboot of a PC their contents will be lost. You will only see default values at launch.
If you want them to remember their latest value, you will need to save their contents to a file at exit, and read the contents back at launch.