home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / openloo / 3828 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.4 KB

  1. Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!galen!leue
  2. From: leue@galen.crd.ge.com (Bill Leue)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Xlib Error Processing - Help!
  5. Keywords: X Errors, XLib, XView, FRAME_BUSY
  6. Message-ID: <1992Sep15.141231.8752@crd.ge.com>
  7. Date: 15 Sep 92 14:12:31 GMT
  8. Sender: usenet@crd.ge.com (Required for NNTP)
  9. Organization: General Electric Research & Development
  10. Lines: 40
  11. Nntp-Posting-Host: galen.crd.ge.com
  12.  
  13. Don't you just love X Error processing?  NOT!
  14.  
  15. I've run across a problem that I can't understand which involves
  16. interpreting a very obscure ( to me, at least) error message that
  17. seems to originate somewhere down in the bowels of XLib.  The
  18. invocation seems harmless enough:
  19.  
  20. (context: OW 3.0, SunOS 4.1.1, Sparcstation 2)
  21.  
  22. Frame myframe;
  23. .
  24. .
  25. .
  26.     
  27. myframe = xv_create(NULL, FRAME,
  28.             XV_LABEL, "Foo",
  29.             FRAME_SHOW_LABEL, 1,
  30.             XV_WIDTH, 100,
  31.             XV_HEIGHT, 100,
  32.             0);
  33.  
  34. .
  35. .
  36. xv_set(myframe, FRAME_BUSY, TRUE, NULL);
  37.  
  38.  
  39. At the xv_set() call, whammo!:
  40.  
  41. Xlib: sequence lost  (0x10063 >0x8e2) in reply type 0x1!
  42.  
  43. And the program is history!
  44.  
  45. Does anyone understand what X is trying (not very hard, IMHO) to tell
  46. me here?  It looks like an internal error to me, since I've used
  47. FRAME_BUSY lots of times before with no problems. And while we're on
  48. the subject, who's the cretin that "designed" error handling in X and
  49. Xview?
  50.  
  51. -Bill Leue
  52. leue@crd.ge.com 
  53.