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

I get the OBJ_BLOCK_DUPLICATE_NOT_DISCARDED error when opening a document.



Q. I am setting up my application using the single-document
   interface and I get this error in Swat:

     OBJ_BLOCK_DUPLICATE_NOT_DISCARDED

   when I try to open a file.

A. In the procedural model you must take out the GDGI_genDisplay
   instance from the GenDocumentGroup object definition. If this
   field is non-null the GenDocumentGroup will automatically try
   to duplicate the display object resource. You don't want this
   to happen under the SDI mode.