The Point ist, that i either didnt declare the functions i have to define nor the main (That means the Interface is predefined). Furthermore i am not able to manipulate the main function.
I am writing a Plugin for another Programm, and that declares the functions it would like to have. (It works as a DLL)
Now i got no other choice as to define a global variable to exchange data from one function to another.
Thats the problem. And now i want to implement, that one function can read only, and another can manipulate.
The Question is: Is that even possible under these conditions.