int main( int nArgc, char ** papszArgv ) { if( nArgc < 2 ) { printf( "Usage: mitabc_test src_filename [dst_filename]\n" ); printf( " or mitabc_test -w[mif/tab] dst_filename\n" ); exit( 1 ); } if( nArgc == 2 ) ReportFile( papszArgv[1] ); else if( strcmp(papszArgv[1],"-wtab") == 0 ) WriteFile( papszArgv[2], "tab" ); else if( strcmp(papszArgv[1],"-wmif") == 0 ) WriteFile( papszArgv[2], "mif" ); else CopyFile( papszArgv[1], papszArgv[2] ); exit( 0 ); }
HRESULT CBkScanImp::Report() { return ReportFile(); }