Re: Beware of setFont in win32
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Mar 31, 2000
- 648 views
Pete King wrote: > Two hours of infuriating testing later, moving the > snippet of code further and further down the program, > I discovered that the command setFont stopped it from > working. A line above and it was fine, a line after > and it stopped. Sorry about your frustrating experience. I thought that particular bug had been nailed, but I guess it's not. The obvious question: are you using the most current version of Win32Lib? If not, could you see if the latest version gets rid of the error? Some time ago, system_exec mysteriously began failing in Win32Lib. I finally tracked it down to a bug in setFont, where the font assignment was going to a Null. I suspect what you are encountering is along those lines. If that's not the problem, could you send me a copy of the *buggy* program, along with a note of where it's failing? Thanks! -- David Cuny