You are not logged in.
Is there anyway to have permant variables inside a library loaded with dlopen()?
Currently whenever i run the function inside my library all the global variables that i had set earlier are gone, is there anyway to keep them set?
Offline
How exactly did you set the global variables "earlier"? In another function? If so, are you sure that function is called?
Offline
I already solved this one and it just was one of my many n00b mistakes ^^
(= memsetting all variables in my apps to zero in the main() function... just that the dll function doesnt only get called once like in normal apps ^^ )
Offline