Re: How to solve LOGIC ERROR: Held resource owner
- Posted by DerekParnell (admin) Oct 12, 2011
- 37334 views
I think I have a solution. Can you please try this and let me know if it works for you.
You need to change one of the win32lib include files. In the file w32resources.ew, in the procedure called traceObject, find the line ...
if heldResource[at][ResOwner] = owner then
and change it to ...
if heldResource[at][ResOwner] = owner or heldResource[at][ResObjType] = kFontObject then
Also, instead of the "while 1" loop you should consider using openDialog() to open the options window. This will keep focus on the options window until the user closes it.