home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!galen!leue
- From: leue@galen.crd.ge.com (Bill Leue)
- Newsgroups: comp.windows.open-look
- Subject: Xlib Error Processing - Help!
- Keywords: X Errors, XLib, XView, FRAME_BUSY
- Message-ID: <1992Sep15.141231.8752@crd.ge.com>
- Date: 15 Sep 92 14:12:31 GMT
- Sender: usenet@crd.ge.com (Required for NNTP)
- Organization: General Electric Research & Development
- Lines: 40
- Nntp-Posting-Host: galen.crd.ge.com
-
- Don't you just love X Error processing? NOT!
-
- I've run across a problem that I can't understand which involves
- interpreting a very obscure ( to me, at least) error message that
- seems to originate somewhere down in the bowels of XLib. The
- invocation seems harmless enough:
-
- (context: OW 3.0, SunOS 4.1.1, Sparcstation 2)
-
- Frame myframe;
- .
- .
- .
-
- myframe = xv_create(NULL, FRAME,
- XV_LABEL, "Foo",
- FRAME_SHOW_LABEL, 1,
- XV_WIDTH, 100,
- XV_HEIGHT, 100,
- 0);
-
- .
- .
- xv_set(myframe, FRAME_BUSY, TRUE, NULL);
-
-
- At the xv_set() call, whammo!:
-
- Xlib: sequence lost (0x10063 >0x8e2) in reply type 0x1!
-
- And the program is history!
-
- Does anyone understand what X is trying (not very hard, IMHO) to tell
- me here? It looks like an internal error to me, since I've used
- FRAME_BUSY lots of times before with no problems. And while we're on
- the subject, who's the cretin that "designed" error handling in X and
- Xview?
-
- -Bill Leue
- leue@crd.ge.com
-