Re: Getting the Pocket PC device serial number???

From: Mike (test_at_test.com)
Date: 06/21/04


Date: Mon, 21 Jun 2004 12:23:11 +0100

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
>
>



Relevant Pages

  • Re: 2nd request ..what is the best program to use with a PDA /Pocket Pc?
    ... The platform will be windows as all our machines are windows, ... have an pocket pc that I am using for a trail but I could use a palm if the ... I used both pendragon and HandDbase. ... DataViz products do support the hi-res mode of the palm. ...
    (microsoft.public.access.forms)
  • Re: Palm OS 68k asm help needed
    ... nothing is displaying when I try to run this thing under Palm OS Garnet Simulator Thankfully no crashing happens and I can exit the program fine. ... Most of my PocketC apps targetting the Tungsten E would only run on the ... do you know of any modern links for ASDK and Pila? ... ARM cpu used by the Gernet platform instead of targetting the abandoned ...
    (alt.lang.asm)
  • Re: Palm OS 68k asm help needed
    ... > I'm trying to make a PalmOS program that changes the background to black ... > this thing under Palm OS Garnet Simulator Thankfully no crashing ... Most of my PocketC apps targetting the Tungsten E would only run on the ... ARM cpu used by the Gernet platform instead of targetting the abandoned ...
    (alt.lang.asm)
  • Re: Palm OS 68k asm help needed
    ... nothing is displaying when I try to run this thing under Palm OS Garnet Simulator Thankfully no crashing happens and I can exit the program fine. ... Most of my PocketC apps targetting the Tungsten E would only run on the ... ARM cpu used by the Gernet platform instead of targetting the abandoned ... my app for Palms bought five years ago, Palms bought last year, and ...
    (alt.lang.asm)
  • Qs about PPC applications
    ... I've solely used Palm devices for the last five years and never ... Do Pocket PCs run desktop Windows programs, ... at least one RAM card slot ... Nice to haves: ...
    (microsoft.public.pocketpc)