Re: CFStringRef to hexa
Subject : Re: CFStringRef to hexa
From: "Steve Mills" <email@hidden >
Date: Fri, 30 Jun 2006 08:57:03 -0500
Delivered-to: email@hidden
Delivered-to: email@hidden
On Jun 30, 2006, at 08:43, Peter S Lau wrote:
On 6/30/2006 4:56 AM, "Alex Ivanov" <email@hidden> wrote:
Is there a way to convert a CFStringRef which
represents a number in hexadecimal to an actual number?
Do you mean to get the numeric value of a CFStringRef that you know
are all
digits?
You can get an SInt32 this way:
CFStringGetIntValue().
That doesn't work when the string contains a *hex* number, like the
OP is asking about.
_________________________________________________________
Steve Mills Me: 952-401-6255
Senior Software Architect MultiAd
email@hidden www.multi-ad.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.