StringFormat stringFormat;

WCHAR buf[10] = L"";
PCSTRINGZ atc_flight_number;

execute_calculator_code("(A:atc flight number,string)",NULL,NULL,&atc_flight_number);
swprintf(buf,L"%S", atc_flight_number);
RectF rectFfltid_num(100, 129, 100, 22);
stringFormat.SetAlignment(StringAlignmentNear);
graphics.DrawString(buf,-1,&Arial20,rectFfltid_num, &stringFormat, &greenBrush);