GetDeviceID broken - please help - I'll post working code

H

Hilton

Hi,

As I mentioned in an earlier post, Microsoft's GetDeviceID is broken on some
PDAs (MS URL appears at the end of this post) - this is not a pre-2002 issue
since it has occurred on a Mobile 2003. Unfortunately, it works just fine
on my PDA, so I'd like y'all to test something for me. Once I have it
working, I'll post the working GetUUID method.

Please download http://www.hiltonswebsite.com/GetUUID.zip and run its EXE on
your PDA - this is a simple C# app. If you are weary of EXEs (which you
should be), please download the code
http://www.hiltonswebsite.com/MainForm.cs, compile, and run that.

Those who do this - thank you! Code you please reply to this post (or email
me at (e-mail address removed) (replace 'bla' with 'com' - I get about
100 spam emails per day anyway). I need these 4 items:

1. The UUID reported via the System utility
2. The ID Size reported by this EXE (should be 6, but I've seen 8)
3. The UUID0 reported by this EXE
4. The UUID1 reported by this EXE

BTW: If you are concerned about giving away your UUID for whatever reason,
just don't report then first few characters; i.e. leave off the first
XXXX-XXXX-XXXX.

I would REALLY appreciate your help with this, and hopefully I can post a
working GetUUID() method soon.

Thank you!

Hilton

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/retrievedeviceid.asp
 
H

Hilton

Hi,

BTW: If all UUIDs are the same, just state that they are the same - no need
to email/post UUIDs. Also, if you could report the PDA make/model and OS.
I'm particularly interested in those cases where the numbers are different.

Thanks for those who emailed earlier this morning.

Hilton
 
H

Hilton

Only 1 person was interested in helping getting a working GetUUID() method?

Peter, Alex, Geoff, Ginny, Paul, Chris, Microsoft guys???

It's easy, just download the zip/exe and run it on your PDA (or download the
code, compile, and run it). Should take about 3 minutes, max!

Thanks in advance.

Hilton
 
P

Paul G. Tobey [eMVP]

Sorry, I don't have *any* PDA devices. I'll run it on a CE.NET 4.2 device,
if you think that will help...

Paul T.
 
H

Hilton

Paul said:
Sorry, I don't have *any* PDA devices. I'll run it on a CE.NET 4.2 device,
if you think that will help...

Thanks Paul. I haven't managed to narrow it down to a specific piece of
hardware of software, so the more testing, the better.

OK, now that we have some momentum, who's next? :)

I really appreciate your help.

Hilton
 
P

Paul G. Tobey [eMVP]

Is the program PPC-only? It doesn't display a form or anything on my
device.

Also, what's a "System utility"? I don't seem to have one of those that I
know about...

Paul T.
 
H

Hilton

Paul,

I tried to make it as simple as possible; i.e. create a form with some
labels, populate the labels. Therefore I'm guessing it's dying in your case
because it cannot find the required DLL on CE 4.2. Putting a try-catch
around it would show the problem, but even so, it wouldn't help my
'investigation/debugging'.

Thanks for trying though - I appreciate it.

Hilton
 
H

Hilton

Like Paul, I don't have a Pocket PC, so I can't help much.

I thought it was a prerequisite for joining this newsgroup. ;)

A little OT: My app runs significantly faster since upgrading to WM 2003 and
its response time is way better. Definitely worth the upgrade. I have a
Dell Axim X5 400MHz.

Hilton
 
P

Paul G. Tobey [eMVP]

Hmmm. The only DLL I see referenced is coredll for KernelIoControl().
Certainly coredll is there.

Paul T.

Hilton said:
Paul,

I tried to make it as simple as possible; i.e. create a form with some
labels, populate the labels. Therefore I'm guessing it's dying in your case
because it cannot find the required DLL on CE 4.2. Putting a try-catch
around it would show the problem, but even so, it wouldn't help my
'investigation/debugging'.

Thanks for trying though - I appreciate it.

Hilton


Paul G. Tobey said:
Is the program PPC-only? It doesn't display a form or anything on my
device.

Also, what's a "System utility"? I don't seem to have one of those that I
know about...

Paul T.

Hilton said:
Paul G. Tobey [eMVP] wrote:
Sorry, I don't have *any* PDA devices. I'll run it on a CE.NET 4.2
device,
if you think that will help...

Thanks Paul. I haven't managed to narrow it down to a specific piece of
hardware of software, so the more testing, the better.

OK, now that we have some momentum, who's next? :)

I really appreciate your help.

Hilton
 
N

Nicolas Nasdrovisky

Hi,

Hope that this could help:

My Pocket is a Symbol PPT 8846 (CE.NET 4.1):

ID Size = 16
UUID0 = 5300-5900-4D00-4200
4F00-4E4B-4E6F-4B69
UUID1 = 5300-5900-4D00-4200
4F00-0000-0000-0000

Nicolas.
 
H

Hilton

Excellent - a reproducable case.

When you go to Start|Settings|System|System Information, what UUID do you
get? (BTW: I hope this "System Information" app is a PPC app and not a Dell
specific app. Otherwise, hopefully there is another way that your PPC can
get its UUID.

This is great - thank you Nicolas!

BTW: Since it is CE.NET 4.1, I'm assuming you're running WM2003.

Hilton


Nicolas said:
Hi,

Hope that this could help:

My Pocket is a Symbol PPT 8846 (CE.NET 4.1):

ID Size = 16
UUID0 = 5300-5900-4D00-4200
4F00-4E4B-4E6F-4B69
UUID1 = 5300-5900-4D00-4200
4F00-0000-0000-0000

Nicolas.
 
N

Nicolas Nasdrovisky

There is a "Symbol" specific application that tells:
UUID Part 1: 7D0007D8F127463E
UUID Part 2: 190103034BDB413E

My Symbol PPT 8846 doesn't run WM2003, but only a "naked" CE.NET 4.1.
They have a WM2003 model, more expensive :)

Nicolas

Excellent - a reproducable case.

When you go to Start|Settings|System|System Information, what UUID do you
get? (BTW: I hope this "System Information" app is a PPC app and not a Dell
specific app. Otherwise, hopefully there is another way that your PPC can
get its UUID.

This is great - thank you Nicolas!

BTW: Since it is CE.NET 4.1, I'm assuming you're running WM2003.

Hilton
 
G

Guest

Tested and worked fine on my iPaq 3970 and HP 1940


----- Hilton wrote: -----

Hi,

As I mentioned in an earlier post, Microsoft's GetDeviceID is broken on some
PDAs (MS URL appears at the end of this post) - this is not a pre-2002 issue
since it has occurred on a Mobile 2003. Unfortunately, it works just fine
on my PDA, so I'd like y'all to test something for me. Once I have it
working, I'll post the working GetUUID method.

Please download http://www.hiltonswebsite.com/GetUUID.zip and run its EXE on
your PDA - this is a simple C# app. If you are weary of EXEs (which you
should be), please download the code
http://www.hiltonswebsite.com/MainForm.cs, compile, and run that.

Those who do this - thank you! Code you please reply to this post (or email
me at (e-mail address removed) (replace 'bla' with 'com' - I get about
100 spam emails per day anyway). I need these 4 items:

1. The UUID reported via the System utility
2. The ID Size reported by this EXE (should be 6, but I've seen 8)
3. The UUID0 reported by this EXE
4. The UUID1 reported by this EXE

BTW: If you are concerned about giving away your UUID for whatever reason,
just don't report then first few characters; i.e. leave off the first
XXXX-XXXX-XXXX.

I would REALLY appreciate your help with this, and hopefully I can post a
working GetUUID() method soon.

Thank you!

Hilton

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/retrievedeviceid.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top