Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFStringRef to hexa



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
References: 
 >Re: CFStringRef to hexa (From: Peter S Lau <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.