Re: win32lib: Weird problems out of the blue.
- Posted by Mario Steele <eumario at trilake.net> Jun 07, 2005
- 477 views
Anando Banerjee wrote: > > Derek Parnell wrote: > > > > Anando Banerjee wrote: > > > > > I am trying to develop an accounting package with Euphoria & Win32lib. > > > > What versions of Euphoria, Win32lib and Windows are you using? > > > > There was some problems with resource handling on win98 with older versions > > of the > > win32lib library. > > > > -- > > Derek Parnell > > Melbourne, Australia > > irc://irc.sorcery.net:9000/euphoria > > > > Hi Derek, > > I am using Win98SE, Euphoria 2.5 Final (and the proper Binder), Win32lib > v0.60.6. I > have also edited w32DLL.ew (as suggested in one of your earlier posts on > EUforum) to > resolve the Error 461 problem with RichEdit. I have not had any more problems > with > RichEdit Error 461 since. Now, the only problem is this weird 461 that appears > after > 5-6 runs, disappears on re-boot, only to re-appear again after 5-6 runs even > without > any changes in anything. > > Thanks. > Anando > This sounds like another Memory Leakage error, that is caused by using the RichEdit structures to change the Font, Escape, Color, and various other aspects of a RichEdit Control's Text. I know I ran into this problem when working on my Simple RichEdit library. Derek, you may want to double check your RichEdit functions, to make sure they are truely releasing the RichEdit structures, and they aren't just being nestled away, allowing memory to accumulate. Mario Steele http://enchantedblade.trilake.net Attaining World Dominiation, one byte at a time...