I am having problems disecting a string.  I am using the TxtGetChar function
inside a for loop to build a smaller string of a set length to pass to an
encryption function.  This returns a WChar.  When I concatenate the returned
WChar cast to a char or char* I get the char and a '/1' character.  I
presume that this is the second byte of the 2 bytes in the WChar.

Is there a way of converting from a WChar to a single byte char ?  And
should I be using char or Char ?  I have been using char as it seems to give
more consistent results, but not much

Many thanks

Piers



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

Reply via email to