Re: A problem about StripAddress
Re: A problem about StripAddress
- Subject: Re: A problem about StripAddress
- From: Allen Cronce <email@hidden>
- Date: Wed, 10 May 2006 18:43:51 -0700
The point that several people have already made is that StripAddress
doesn't do anything anymore. It's a hold over from the 68k days when
Mac's had 48 bit addressing.
So instead of this:
bufferAddr = StripAddress (*buffer);
Just do this:
bufferAddr = *buffer;
Best,
--
Allen Cronce
Bus Mini wrote:
I found those code from QuickTime API reference, maybe because I
included <QuickTime/QuickTime.h> it can be compiled.
here is the code, since StripAddress is no longer in use, is
there something to replace it?
buffer = NewHandle(compressedSize);
CheckError (MemError(), "\pNewHandle buffer");
MoveHHi (buffer);
HLock (buffer);
bufferAddr = StripAddress (*buffer);
....
//then use bufferAddr to receive data
Thanks for reading my e-mail.
On 5/11/06, Sean McBride <email@hidden>
wrote:
Apple documentation from when? 1988? :) StripAddress has been useless
for a long time. It's not even in the headers anymore, I'm surprised
it
compiled.
--
Yours sincerely
Mini Bus.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden