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