David Chevalier wrote: > hmmm... i'm now thinking for wide char support you'd need to also > multiply the field_len by the Char size... > MemMove(ptr, field1, field1_len * sizeof(Char)); > > sorry! Its hard for me to remember that sizeof(Char) is not always 1...
It's not? The value produced from sizeof is determined at compile-time, and Char is a typedef for char, and sizeof (char) is guaranteed to be 1 by the C standard, right? WChar, OTOH, is 2 bytes. __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
