Mike
Mon Jun 21 06:23:11 CDT 2004
One thing to keep in mind is that, like on the Palm platform, a significant
number of Pocket PCs do not have a unique serial number embedded in the ROM.
Some iPAQs have a serial number, and (as far as I know) you have to use the
iPAQ SDK to get the information.
I think this may have changed on Pocket PC 2003 / WM2003 devices, but I
cannot say for sure. Your target audience might be all new devices in which
case this may suit you.
I also expanded development from Palm to Pocket PC (using eVB for now, soon
eVC) and then to Symbian phones. I share your frustration. A lot of this is
because these articles aren't aimed at people with no experience in that
platform, and in a lot of cases you will find the solution, it will be a
minor one, and you will think "well, why didn't someone tell me I needed to
do that!"
My problem now is trying to keep up as I have to maintain code for the three
platforms. The PPC is the least of the problems for now as it's BASIC rather
than C or C++ so it is very different. But switching between Palm (with
Codewarrior) and Symbian phone (with Borland CBX) can get confusing.
Mike.
"Kristian Austad" <kristian@austad.net> wrote in message
news:%23cuYKYuVEHA.3024@TK2MSFTNGP09.phx.gbl...
> I've ported an application from Palm OS to Pocket PC 2003 (basically, had
to
> rewrite pretty much all of it) from C to embedded VC++. My app is C, not
> C++. On the Palm, you simply call a SysGetROMToken function to retrieve
the
> device unique serial number. I understand the Pocket PCs often don't have
> built in serial numbers or functions to calling, making it so much harder
to
> generate individual activation codes for applications.
>
> I've seen one approach to get the serial number on
>
>
http://www.pocketpcdn.com/articles/serial_number2002.html
>
> but I couldn't make it work. It's probably me not being proficient enough
in
> VC++ 4.0, the approach isn't exactly smoothly explained. I'd like sample
> codes to be cut and paste...;-)
>
> Does anyone have suggestions as to how to go about retrieving the unique
> serial number, hints/guidance would be much appreciated.
>
> Regards,
> Kristian
>
>