Anyway, I learned WinScreenLock/Unlock suck big times and I promise I will never use it again, sigh.
Henk
John Marshall wrote:
On Thu, Jan 30, 2003 at 01:50:17PM +0100, Aaron Ardiri wrote:of course.. you shouldn't call WinScreenUnlock() if the WinScreenLock() operation failed :) logical? :)Yes! It's logical because if WinScreenLock() failed, then the screen isn't locked and doesn't need unlocking. It's a very common idiom: don't call fclose() if fopen() failed; don't call free() if malloc() failed; etc, etc.those API's are a nightmare to work with, and, quite frankly - they suck.But nonetheless I'm sure you're right and they're a nightmare to work with for lots of other reasons :-). John
-- ------------------------------------------------------------------------- [EMAIL PROTECTED] www.metaviewsoft.de <A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946"> <IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung_palmos.jpg"></A> ------------------------------------------------------------------------- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
