Mailing Lists: Apple Mailing Lists

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

ABMultiValueSetPrimaryIdentifier issue



Hi all,

did someone have success using the ABMultiValueSetPrimaryIdentifier(() function from the AddressBook framework? I'm pretty sure the values I pass in are correct : a MutableMultiValueRef as first argument and a CFStringRef which designates an identifier as second argument. My identifiers do exist and are obtained with ABMultiValueCopyValueAtIndex().

Even if I pass its OWN current primary identifier (obtained with ABMultiValueCopyPrimaryIdentifier) it returns false:

CFStringRef multivalueRef = ABRecordCopyValue(personRecord, propertyRef);
bool result = ABMultiValueSetPrimaryIdentifier((ABMutableMultiValueRef) multivalueRef, ABMultiValueCopyPrimaryIdentifier((ABMutableMultiValueRef) multivalueRef));


Any idea or is there a known issue there ?

TIA

Bernard
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.




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.