|
Re: modify static variable
|
Posted: Apr 6, 2006 2:07 AM
|
|
Of course you can modify static variables. They just don't get destroyed when the instance of the owner get's destroyed.
Static is not like static at all. The one prevents changing, the other allows to keep a value and to use the same value between different instances.
But I don't know how to communicate between 2 different programs.
In my opinion it should NOT be possible to change variables of another program, that would be a big security issue.
To interact between programs, COM or DCOM are normally used. Maybe Java has it's own version of it, since standard COM access is not implemented in Java (had to buy a jintegra tool for that).
|
|