-
编写可串行化类时,MFC用你指定的模式号制定一个粗略的版本控制方式。在向档案写数据时,MFC用模式标记该类的实例;而在读回数据时,MFC将档案中的记录的模式号和...
编写可串行化类时,MFC用你指定的模式号制定一个粗略的版本控制方式。在向档案写数据时,MFC用模式标记该类的实例;而在读回数据时,MFC将档案中的记录的模式号和应用程序中使用着的 该类对象的模式号做比较,如果两模式号不匹配,则MFC发送一个CArchiveException,其m_cause 等于CArchiveException::badSchema。没有得到处理的该类异常会促使MFC显示一个对话框,提示 “非预期的文件格式”。如果每次修改对象的串行化存储格式时都能做到增加模式号,那么就不怕 这种无心的操作―试图把磁盘中存的老版本对象读入内存里的新版本对象了。 [代码性质] VC完整应用程序代码 [代码作者] 阿豪(kof) [文件大小] 369K-prepared Serializable category, the MFC with you specify the mode of development of a rough version control mode. To write data files, the MFC model with markings such examples; In reading back the data, MFC will file the record of the model and application procedures with the use of such objects, the model used for comparison, if the two patterns do not match, and then send a CArchiveException MFC, equivalent to m_cause CArchiveException : : badSchema. Not to be addressed such abnormal prompted MFC will show a dialog box, suggesting that "unintended file format." If every amendment targets of serial storage format can achieve the increase mode, so it
- 2022-08-17 22:59:40下载
- 积分:1
-
a test under windows mobile
windows mobile 下的一个测试程序。-a test under windows mobile
- 2022-12-19 00:35:03下载
- 积分:1
-
AutoCAD二次开发例子程序,在AutoCAD中生成图块,用于快速绘图
AutoCAD二次开发例子程序,在AutoCAD中生成图块,用于快速绘图-AutoCAD development procedures example, in AutoCAD Generation Segment for rapid mapping
- 2023-03-16 17:25:03下载
- 积分:1
-
拉伸图象,如何使用图象
拉伸图象,如何使用图象-tensile images, the use of image
- 2022-02-01 17:38:31下载
- 积分:1
-
bdvbdipvdsvbsdpvbpdivbs
这是一个简单的酒店管理网站,在这个网站上用户可以登录和入住酒店,并用SQL数据库检查退房和客房的可用性
- 2022-03-11 03:34:32下载
- 积分:1
-
基于servlet的一个简单的增删改查!
基于servlet的一个简单的增删改查!-A simple servlet-based additions and deletions to change search!
- 2023-06-01 16:50:04下载
- 积分:1
-
Microsoft Visual C++ 边沿检测与提取,轮廓跟踪
Microsoft Visual C++ 边沿检测与提取,轮廓跟踪-Microsoft Visual C++ Edge detection and extraction, contour tracing
- 2022-04-29 20:27:51下载
- 积分:1
-
VB UART write, VS2008, add the control can work
VB UART 编写,VS2008,加控件可工作-VB UART write, VS2008, add the control can work
- 2023-03-22 04:25:04下载
- 积分:1
-
some classic VC source code (5)
一些经典的VC源代码(5)
- 2022-07-11 22:17:42下载
- 积分:1
-
一个很小很好用的表格控件
资源描述一个很轻巧很好用的表格控件,类似于EXCEL表格功能,便于排序和统计,用C++完备封装,可以方便的嵌入各类WINDWOS源代码。
- 2022-07-17 07:14:43下载
- 积分:1