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

death due to CANNOT_UNRELOCATE



If you are trying to save an object resource to a VMFile and you get
"death due to CANNOT_UNRELOCATE", the problem is most likely in the 
class definition of one of the objects.  Check the library that defines
the class to make sure that it is exporting the class (this is done in
the .gp file) and that your application is using the correct version 
of the library (do "pmake lib" on the library so the libraries .ldf file
and .geo file match).
 
Also realize that you can only (easily) save objects that are subclassed
off VisClass and MetaClass.  GenClass objects are modified by the specific
UI and thus require special handling before saving to a VMFile.