打开文件之前对文件进行预处理?
不明白。
void func (CString strFilename) 
{
  // 病毒扫描
  // Read file
}
不就行了