<A.Steinhoff> writes:

> 
> 
> Hello,
> 
> I have modified the scrollbar example in the following way:
> 
> int main(int argc, char *argv[])
> {
>       
>       for(;;)
>       {
> 
[clip]  }
>       return (0);
> }
> 
> After terminating the AG_Eventloop and executing the code again I see the
> following error message: 
> 
> Fatal error: AG_ObjectInit: No such class: AG_Display
> Aborted
> 
> The call AG_LookupClass doesn't the name "AG_DISPLAY".
> How can I solve that problem?
> 
> Regards
> 
> --Armin
> 

Hello,

the flag initedGlobals seems to be solution. I do now a reset of this flag in
AG_Destroy. Is this OK ? ... or could it create memory leaks ?

Regards

--Armin




_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to