--- On Thu, 18/12/08, Michal Seliga <[email protected]> wrote:

From: Michal Seliga <[email protected]>
Subject: Re: WinHandles (TX OS5.49) help please
To: "Palm Developer Forum" <[email protected]>
Date: Thursday, 18 December, 2008, 7:59 PM

are you sure that you delete only windows you created and that you don't try
to
delete same handle twice? >The handle cannot be deleted twice, as a habit all 
created windows are nullified when deleted during application process, like 
so; if (windowH) WinDeleteWindow(windowH, eraseit);windowH=NULL;  it could be 
some copy&paste mistake...

Darren wrote:
> Hello,
> am deleting windows on app close, like so;
> 
> if (windowHandle) WinDeleteWindow(windowHandle, 0);
> 
> everything appears to work fine after the application has closed
> after around 7 uses of the application the palm resets.
> Taking out the WinDeleteWindow() call resolves the issue,
> the question is 
> -are windows being automatically deleted by the operating system on
application close?
> many thanks
> 
> Darren
> 

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/



      
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to