Patch for win32lib v0.60.3

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu