stream!= NULL问题表明文件读取(fopen)时出错了, 出错的可能是: 1,读取的地址为相对地址, 当我们使用CFileDialog 时, 将当前的地址改变, 此时的相对地址就有 点偏差。 2013-12-29