home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18654 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.3 KB

  1. Path: sparky!uunet!think.com!sdd.hp.com!nigel.msen.com!heifetz!tbomb!time
  2. From: time@ice.com (Tim Endres)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Problem isolated but not understood (THINK Pascal standalone crash)
  5. Date: Thu, 19 Nov 92 12:14:27 EST
  6. Organization: ICE Engineering, Inc.
  7. Message-ID: <1CE00001.j2dd33@tbomb.ice.com>
  8. Reply-To: time@ice.com (Tim Endres)
  9. X-Mailer: uAccess - Macintosh Release: 1.6v2
  10. Lines: 25
  11.  
  12.  
  13. In article <Bxy3q0.231@news.udel.edu> (comp.sys.mac.programmer), kurisuto@chopin.udel.edu (Sean J. Crist) writes:
  14. > SetHandleSize(Handle(DestinationHandle), GetHandleSize
  15. >     (Handle(SourceHandle))); {Make the two handles the same size}
  16.  
  17. *** Where is your call to MemError() to be sure the SetHandleSize
  18. was a success?!
  19.  
  20. > BlockMove(Pointer(SourceHandle^), Pointer(DestinationHandle^),
  21. >     GetHandleSize(Handle(SourceHandle))); {Copy the contents 
  22. >     of one handle into the other}
  23.  
  24. Why aren't you using HandToHand() for this?!
  25.  
  26. ThinkC's environment may be adding extra memory you don't get in your
  27. stand alone. This may cause SetHandleSize() to fail, which ould certainly
  28. explain the behaviour you see.
  29.  
  30.  
  31. tim endres - time@ice.com
  32.  
  33. Register your company in the Internet Business Pages!
  34.  ...send email to "ibp-info@msen.com" for details...
  35.  
  36. USENET - a slow moving self parody... ph
  37.