Re: Accessing Win API
- Posted by Euler German <efgerman at myrealbox.com> Apr 15, 2002
- 409 views
On 15 Apr 2002, at 20:04, David Cuny wrote: > > Euler German wrote: > No. I did not. These are not my words. As a matter of fact, I never used Win32Lib before, so I will not share any opinions on it. -- Euler > >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 >