i want to write a small program, i have an idea of the architecture but doesn't know how
to program it. i guess it would take 10 minutes for an expert to make me a small
example project ;-) this would really help me. the project should do the following:
the main project includes a global variable test : Integer;
and a button Button1, when you click it, test is increased
There also exist an ini file which conatains a number ie. 10
Now comes the interesting and for me problematic point:
i want to create 10 (or more, depending on the ini file) objects which do the following:
when button1 is pressed, each single object shall access the value
of the global var test.
this shall happen for all objects at the same time. i think it's multi threaded ?
the objects shall not be informed about the change of test one after
the objects are existing for the whole runtime.
is that complicated to do ? i have no idea how to do that. i only programmed
"advanced procedural" yet ;-)