User Activity

{static void* data;func ->structure* s = new structure();// do stuffdata = s;return;  Callback ->structure* s = (structure*) data;// Error} Functions are more or less setup as above. This setup is used in many locations on the code, works just fine. ...