John,

   Went to the URL of the second message, and observed this response:
"Message 2812 does not exist in palm-dev-forum".  This does not pass as a
good read. ;)

Al

P.S. If you still have a copy of your more recent response, please consider
responding with that here.


----- Original Message ----- 
From: "John Marshall" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 10:00 AM
Subject: Re: ClipboardGetItem and StrNCopy


> Jan Slodicka wrote:
> > I thought that a check for cmdptr!=NULL was redundant as cmdptr is
obtained
> > from a non-NULL handle.
>
> You're right of course -- I was thinking of checking hCmd != NULL, which
> you are indeed doing.  Sorry, it was a late night last night!
>
> > (The string on the clipboard was non-empty.)
>
> I would have thought you would get "access past end of chunk" in that
> case rather than "low-memory access", but yeah, any way you slice it
> the current StrNCopy is not going to work in that case either.  So my
> suggestion wasn't very helpful -- sorry.  My analysis three years ago
> was better; maybe I had slept the night before I posted it :-).
>
> > Strange - I searched the forum for ClipboardGetItem string before
posting,
> > but did not receive the links you list bellow.
>
> The more recent one (which is a good read, if I say so myself :-)) was
> on emulator-forum.
>
>     John
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to