RE: Help testing transparentBlt function
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 03, 2001
- 462 views
> -----Original Message----- > From: Thomas Parslow (PatRat) [mailto:patrat at rat-software.com] > It requires win32lib for a reason I haven't > been able to figure out yet (i don't use any win32lib > functions but it just > doesn't work if i don't include it). You're testing for an error incorrectly. From the docs on define_c_func: ... A small integer, known as a routine id, will be returned, or -1 if the function can't be found.... The reason win32lib affected you is that it has already linked several routines, so you're not getting 0 (which is a valid routine id). Matt Lewis