home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21565 < prev    next >
Encoding:
Text File  |  1993-01-26  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: nosmo@ximage.COM (Vince Kraemer)
  4. Subject: Error handler flow control
  5. Message-ID: <9301260154.AA15744@ximage.com>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: nosmo@ximage.com
  8. Organization: The Internet
  9. Date: Tue, 26 Jan 1993 01:54:22 GMT
  10. Lines: 18
  11.  
  12. I am writing a simple set of copy/paste routines for a form based
  13. application.  I have gotten the "simple" error free case to work fine.
  14. Now I want to deal with Alloc errors in XChangeProperty "correctly" by
  15. using an incremental transfer scheme for large selections.
  16.  
  17. Since I cannot tell how big a property is "too big", it seems that the
  18. only way to do this is to change strategies in an error handler.
  19.  
  20. (Is there a way to tell what "too big" is?  That could make this whole
  21. question moot, which I wouldn't mind a bit.)
  22.  
  23. My problem is fairly simple, where does the error handler return to, if
  24. I say return in it? Does it return to the place where I set it (similar
  25. to longjmp), to the line after the request which generated the error, or
  26. someplace else completely?
  27.  
  28. Thanks
  29. vbk
  30.