RE: IDE stand-alone Editor bug
- Posted by "Derek Parnell" <ddparnell at bigpond.com> Feb 23, 2004
- 486 views
> -----Original Message----- > From: CoJaBo [mailto:cojabo at suscom.net] > Subject: RE: IDE stand-alone Editor bug > > > > Derek Parnell wrote: > > > > > > > -----Original Message----- > > > From: CoJaBo [mailto:cojabo at suscom.net] > > > Sent: Monday, 23 February 2004 10:33 AM > > > To: EUforum at topica.com > > > Subject: RE: IDE stand-alone Editor bug > > > > > > > > > "drawRectangle:Rectangle failed" and > > > "bitBlt:BitBlt failed" > > > are the 2 errors that come up in huge numbers during standby > > > or logoff, > > > if these can be fixed in Win32Lib, "setWarning(0)" will not be > > > necessary. > > > > > > > These have been 'fixed' in the soon-to-be-released library. I never > > actually > > get these messages on my systems so it might be an XP thing. > Pre Win XP OSes do not support what causes the problems, so > you may not > have gotten them. These are failing with an invalid handle error code. It may be true that the handle (a Device Context) is invalid at the time, but I'm wondering why the IDE is bothering to call these functions if the window they are using is in hibination or shutdown. I remember when coding in VB, that I'd often need to check if a window was minimized before working with the controls in that window - so maybe there is an XP API call to test if the machine is in hibination mode or similar. > Are you saying that these warnings will not be displayed now? Yes, those two specific warnings (and a few similar ones) will not be displayed now. If they fail, there will be no indication that that have done so. I *do not* like this approach, and I'm coming up with an alternative, but its not ready yet. -- Derek