Article # 332, added by Geoworks, historical record
| first | previous | index | next | last |

I get the OBJ_LOCK_OBJ_BLOCK_BY_WRONG_THREAD death.



Q. I just added a new source file to my program, and I get this error
   when my program starts up:
     OBJ_LOCK_OBJ_BLOCK_BY_WRONG_THREAD

A. Make sure the resource in the new file is listed in the .GP file.
   If it's not, it defaults to 'object' type and can't be run if the
   objects in the new file are children of objects that are in the
   'ui-object' thread.