GetStatus Example for C++ 5.0 and later

void CSample_COMDlg::OnButton20()
{
   CString csString; 
   pRasterDoc->GetStatus ();

   csString.Format (TEXT("Recognized Characters = %d\nRecognized Words = %d\nRejected Characters = %d\nRejected Words = %d\nRecognized Time       = %d\nReading Time     = %d\nPre Process time    = %d\nDecomposition  = %d\n"),
                   pRasterDoc->GetRecognizeStatus()->RecognizedCharacterCount, 
                   pRasterDoc->GetRecognizeStatus()->RecognizedWordCount
                   pRasterDoc->GetRecognizeStatus()->RejectCharacterCount
                   pRasterDoc->GetRecognizeStatus()->RejectWordCount
                   pRasterDoc->GetRecognizeStatus()->RecognizedTime
                   pRasterDoc->GetRecognizeStatus()->ReadingTime
                   pRasterDoc->GetRecognizeStatus()->PreProcessTime
                   pRasterDoc->GetRecognizeStatus()->DecompositionTime); 
}