home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / CPP / WFC010.ZIP / TEST / TEVNTLOG.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-27  |  337 b   |  16 lines

  1. #include "test.h"
  2. #pragma hdrstop
  3.  
  4. void test_CEventLog( void )
  5. {
  6.    CEventLog log( "Dodah" );
  7.  
  8.    LPCTSTR string_array[ 1 ];
  9.  
  10.    string_array[ 0 ] = "Hello World";
  11.  
  12.    log.Report( CEventLog::eventInformation, 0, 0, 1, string_array );
  13.    log.ReportInformation( "ReportInformation" );
  14.    log.ReportError( "ReportError" );
  15. }
  16.