Joe,
I figured that. I just figured since I'm new to Palm programming I would check to see
if could be caused by anything else. I figured
it out, it's amazing it worked this long. I'm working with Palm Object Library, which
is MFC like. That's where I got burnt! In MFC
when you call GetBuffer(0) it returns the internal buffer. The 0 min length paramter
in POL means something different.
Yikes!
pNewData->m_pchBuffer[wMinimumLength] = '\0';
Dave
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joe
> Sent: Saturday, March 09, 2002 2:46 PM
> To: Palm Developer Forum
> Subject: Re: Memory corruption problem
>
>
> --- Dave Brown <[EMAIL PROTECTED]> wrote:
> >
> > I'm having what seems like memory corruption, but I'm baffled as to
> > why. Basically the Emulator displays that I read from a memory
> > location that was in the memory manager data structures.
>
> That is usually caused by a bad pointer. What code is executing when
> you get this message?
>
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> --
> 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/