paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[4]: [paragui-users] SDL_QUIT


From: Andrew Ford
Subject: Re: Re[4]: [paragui-users] SDL_QUIT
Date: Tue, 13 Aug 2002 17:09:44 -0700 (PDT)

Beats the hell out of me.  Sounds distinctly like a
problem with either your code or SDL.

Andrew

--- taurus <address@hidden> wrote:
> Hello Andrew,
> 
> Saturday, August 10, 2002, 23:34:34, you wrote:
> 
> AF> If you saw Sam Latinga's post on the SDL mailing
> list,
> AF> your problem might be a memory error.  You can
> get
> AF> these things happening if you use paragui
> improperly. 
> AF> Static child widgets are a no-no, and when you
> make a
> AF> widget a child of another, the parent takes
> ownership.
> AF>  Does this help any?
> 
>      Well, I`ve found something strange...
> 
>      If I have an array of SDL_Surface* and want to
> replace one element
>      like:
> 
>      CArray <SDL_Surface*, SDL_Surface*> ar;
>      ...
>      SDL_Surface * p = ar.GetAt(i);
>      ar.SetAt(i,newp);
> >>     SDL_FreeSurface(p);
>      ...
>      SDL_Quit();
> 
>      If I free the surface "p" by
>      "SDL_FreeSurface(p)", SDL_Quit will never
> finish, if I dont free
>      the surface, it`s ok.
> 
>      What can it be?
>      
> Kind regards,
>        taurus                          
> 
> address@hidden
> 
>  ->> "If you will have a megaphone, you will never
> have to be alone..."
> 
> 
> 
> 
> _______________________________________________
> paragui-users mailing list
> address@hidden
>
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]