Re: Accessing Win API

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

Euler German wrote:

>Anyone who uses Win32lib is stuck in the loop of having code that is poor 
>in performance, size and bug ridden.

Ouch.

I can speak to a couple of these issues, but keep in mind that I haven't 
really looked though Win32Lib in a while - there have been quite a few 
changes since I (gratefully) left it with Derek.

Win32Lib was written for ease of use, and (especially with Judith's IDE) I 
think it's achieved that. The tradeoff, unfortunately, is speed.

A case in point is the handling of fonts. The old version of Win32Lib 
basically created a new font every time there was a call to a routine that 
used fonts. This was horribly expensive, but it hid the nasty details from 
the user, and (attempted to) prevent resource leaks.

As for Win32Lib is 'bug ridden', I suspect that's a bit harsh. And keep in 
mind that the author of any software program can't fix bugs they don't know 
about. So one of the best ways to fix Win32Lib is to report any known bugs 
to Derek.

Sure, you could 'roll your own' version, but in retrospect, I wish that 
someone else had written Win32Lib, so I could have been doing more 
interesting things.

Just my (probably obsolete) two cents.

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu