On Fri, 27 Jul 2001, Igor Mozolevsky wrote:
> > Actually, dst was never initialized, so it could be anything.. even 0..
> > all the StrNCopy did was fill bytes 0 through 199 with 32.. :P
> 
> KCHING! That's the answer I was looking for!

  oh.. you changed src with dst on us? :)

  it all depends on the compiler/environment. you can never make assumptions
  about what the value of memory is when allocated. yohould always clear
  anything allocated with MemPtrNew() with a MemSet.. common practice..

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


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

Reply via email to