Re: The macs serial number (clearer)
Re: The macs serial number (clearer)
- Subject: Re: The macs serial number (clearer)
- From: Nathan Day <email@hidden>
- Date: Wed, 4 Sep 2002 18:23:12 +0930
Look at the the c function
unsigned long strtoul(const char *nptr, char **endptr, int base);
use this on your hex string 2 characters at a time and you will have
each characters ascii code. You can construct a c string from that.
On Wednesday, September 4, 2002, at 07:03 AM, email@hidden wrote:
That looks a lot more helpful that what I get.
The value IS in Hex format with the last part of the serial number
stated first ??
followed by the the first part later...if you know what I mean.
Only trouble is I have no idea how to convert the hex string back to
normal C string or NSString.
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.