Hrm, I'm behind on my coffee, you're right. I brainfarted the UInt8 to
UInt32 - my bad. We did both miss the address-of on that one. Lattes on
me, I suppose. ;-)
-P
-----Original Message-----
From: Neil Rhodes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 03, 2000 10:51 AM
To: Palm Developer Forum
Subject: Re: Compilation error with C++
Hmm. Actually, since recPtr is a pointer to an 8-bit integer,
recPtr[sizeof(Uint32)] will be the fourth byte (sizeof(UInt32) *
sizeof(UInt8)).
Now that I look at the code more clearly, it seems that he actually needs a
&:
MemMove(pSig, &recPtr[sizeof(UInt32)], MemPtrSize(recptr)-sizeof(UInt32));
Neil
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/