int AB_READPHONENBR(AB_NUM_ITEM *,int rec_num, int field_ID);
Функция получает номер от конкретной записи
AB_NUM_ITEM * st = new AB_NUM_ITEM; AB_GET_STRUCT abs; int i = 0; short * abd = (short*)get_AB_ITEMS_DESC(); //Ищем нужный ITEM_DESC while(i!=AB_ITEM_FPI) { if ( abd[ AB_ITEM_DESC_NUM_DISPLACE/sizeof(short) ] == AB_ITEM_FIELD_N_MOBILE ) break; abd += AB_ITEM_DESC_SIZE/sizeof(short); i++; } abs.unk_02 = 2; abs.rec_num = 1; int num = GetABRecNum(&abs); AB_READPHONENBR(st, num, abd[ AB_ITEM_DESC_ID_DISPLACE/sizeof(short) ] ); TEXTID name = AB_NUM_ITEM2TextID(st); //получаем TEXTID с мобильным номером контакта