You can't. What you can do is use a utility like RegCode
to turn the user name into a series of hex values, and have
the user send you these values when they register.
see
http://www7.palmgear.com/software/showsoftware.cfm?sid=16958620000225193811&
prodID=2997
if you want some source code. Otoh, putting the hex-ized
version of the user name together to display in a "to register..."
dialog isn't too difficult.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
Richard Burmeister wrote in message <7919@palm-dev-forum>...
>
>I have been using some code to to generate a "unique" registration code for
>people who register my shareware app, based on their HotSync user name. My
>app checks the HotSync name when they attempt to enter a registration code
>and enables all application features if they enter the right code. I would
>like to make this work with the new Japanese Palms. This creates various
>problems:
>
>1) I don't know what the format of Japanese user names will be. Will they
>be encoded with charEncodingCP932, charEncodingShiftJIS, or
>charEncodingPalmSJIS?
>2) The palmos35colorJapanese.rom on Poser appears to use
>charEncodingPalmSJIS, but I am not sure how to test reg codes on it -- some
>chars I type are translated to Katakana, some are not.
>3) How can I determine all the chars that can be entered into a Japanese
>Palm without actually having one?
>
>Any input will be appreciated.
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html