Path: utzoo!attcan!uunet!aplcen!haven!decuac!decwrl!shelby!eos!ames!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x Subject: Re: XView error message Message-ID: <136402@sun.Eng.Sun.COM> Date: 30 May 90 20:12:48 GMT References: <109@tdatirv.UUCP> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 27 In article <109@tdatirv.UUCP> swf@tdatirv.UUCP () writes: > 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) ... This sounds suspiciously like you're doing things with menus. > So, what does this mean, and what makes it occur? > [I have looked in TFM and could not find any error messages documented] The new FM has a chapter on error handling, messages, etc... It should be available in July. > 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 Aha! I knew it :-) Unfortunately, you weren't specific about what you're trying to do. However, suffice to say that you should never play with menus or menu items while they are being displayed. The new edition of the XView Programmer's manual (the new FM discussed above) goes into more detail about this. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.