Patch for win32lib v0.60.3
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 14, 2004
- 743 views
This is just a heads-up for an error being reported with the current release. Some programs issued the warning message “LOGIC ERROR: Held resource owner is not the actual owner.” This was because some font resources were not removed from internal tables when the resource was no longer being tracked. The recommended patch is to add two lines to the library. In the routine replaceObject(), find the lines ... if find(pObjType, {kBitmapObject, kIconObject, kFontObject}) = 0 then deleteObject(lReplacedObject) and add these lines after them... else deleteObject({lReplacedObject,{}}) This patch will also be in the next release of course. -- Derek Parnell Melbourne, Australia