承接专栏《MFC工控项目实例之四在调试目录下创建指定文件夹》 实时保存输入的iPlotX坐标轴最小值、最大值到CFG.PAR文件,打开界面从CFG.PAR文件中实时读取保存的最小值、最大值在编辑框中显示。 1、SEAL_PRESSURE.h中添加代码 class CSEAL_PRESSUREApp : public CWinApp{public:...CString m_CFGFileNam
转自VC错误:http://www.vcerror.com/?p=1559 问题描述: 在把VC6.0 工程转到VS2005工程中遇到下面的问题: error C2039: ‘ReadHuge’ : is not a member of ‘CFile 解决方法: 具体的解决方法参考文章:http://www.vcerror.com/?p=1559
MSDN上说到: CFile::modeNoTruncate Combine this value with modeCreate. If the file being created already exists, it is not truncated to 0 length. Thus the file is guaranteed to open, either as a newly