Re: Beware of setFont in win32

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu