Path: utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!tdatirv!swf From: swf@tdatirv.UUCP (swf) Newsgroups: comp.windows.x Subject: XView error message Message-ID: <109@tdatirv.UUCP> Date: 29 May 90 19:57:10 GMT Article-I.D.: tdatirv.109 Reply-To: swf@tdatirv.UUCP () Organization: Teradata Corp., Irvine Lines: 25 I have run into a strange run-time error message several times while developing XView applications. Under arcane circumstances I get the following: XView Warning: obj 0x### invalid object(embedding seal incorrect) ... or something like that. I have not found any clear pattern to when I get it, I have usually been able to eliminate it by moving some code from one place to another. Generally the code tries to change display attributes of an XView object. Unfortunately, I am doing this mostly by guesswork, since I do not really know what conditions cause an embedding seal violation. So, what does this mean, and what makes it occur? [I have looked in TFM and could not find any error messages documented] This error is occuring most persistantly in code in which I am trying to dynamically change the active choices in a menu according to the cursor position when the SELECT button was pressed. I have tried all sorts of organizations for the code, and the only one which did not die displaying the menu was when I disabled the code to change the selectability of the menu items. Unfortunately, the program then dies if the user selects an invalid menu item! So how do I do this? ---------------- uunet!tdatirv!swf (Stanley Friesen) (Teradata Corporation)