jeudi 5 mars 2015

Convert CFArrayRef to CFStringRef


Vote count:

0




How to convert the CFArrayRef array to the CFStringRef string correctly? I tried following:



CFIndex index = CFArrayGetCount (array);
for (int i = 0; i < index; i++)
{
CFStringRef string = (CFStringRef)CFArrayGetValueAtIndex(array, i);

CFIndex length = CFStringGetLength(string)+1;
}


But every time CFStringGetLength is executed my program breaks. Unfortunately I don't get any error message.



asked 1 min ago







Convert CFArrayRef to CFStringRef

Aucun commentaire:

Enregistrer un commentaire