WriteComment example for C++ Builder
// set the comment
LEADImage1->Comment[CMNT_SZARTIST] = "Me" ;
// write the comment into page 1 of TEST.TIF
LEADImage1->WriteComment("TEST.TIF", 1);
// read the comment and display it
MessageBox(Handle,VarToStr(LEADImage1->ReadComment("TEST.TIF", 1, CMNT_SZARTIST)).c_str(),
"Info",0);