Re: [Win32Lib] Error Code 495...?

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message ----- 
From: "C. K. Lester" <cklester at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: [Win32Lib] Error Code 495...?


> 
> 
> Derek Parnell wrote:
> > 
> > 
> > > I'm getting this after a program shuts down:
> > > 
> > > Error code 495
> > > getHandle failed.
> > > 
> > > Win32Lib v0.59.1 08-June-2003
> 
> I figured it out, but I still don't understand it...
> 
> My program ends with closeWindow( theWindow ), but it continues 
> executing some code afterwards that is trying to call controls that no 
> longer exist. However, I wouldn't expect it to keep on after I close the 
> window. I can provide a snippet if you want, but that's the jist of it.

Ok. Once control returns from you call the WinMain() routine, your app should
NOT use anything that is inside win32lib - and that includes any controls you
created. The only thing you can safely do is basic Euphoria stuff - no windows
code.

-- 
Derek

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu