void pcn()
{
Worksheet wks = Project.ActiveLayer();
vector<int> vcols, vrows;
int nn = wks.GetCellsWithNotes(vcols, vrows);
for(int ii = 0; ii < nn; ii++) {
string strNote;
wks.GetCellComment(vrows[ii], vcols[ii], strNote);
//strNote might have CRLF, and need to end with \r\n here
printf("%d. row,col=%d,%d:(%s)\r\n", ii+1, vrows[ii]+1, vcols[ii]+1, strNote);
}
}