-
编写可串行化类时,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
-
HEX编辑控制
hex edit control
- 2022-11-21 00:45:03下载
- 积分:1
-
一个eastdraw的源代码,有兴趣的朋友可以研究一下。
一个eastdraw的源代码,有兴趣的朋友可以研究下。-a eastdraw the source code, are interested in the study can be friends.
- 2022-03-25 12:16:21下载
- 积分:1
-
实现Windows95/98的I/O端口读写
实现Windows95/98的I/O端口读写-achieve Windows 95/98 I/O ports literacy
- 2023-04-29 21:45:03下载
- 积分:1
-
The source for the EXCEL use GPS to check the measurement results
EXCEL的源代码使用GPS来检查测量结果
- 2022-07-11 13:00:33下载
- 积分:1
-
关于嵌入式wince电源管理的,详细,属于嵌入式入门必读
关于嵌入式wince电源管理的,详细,属于嵌入式入门必读-Wince on the embedded power management, and detailed, are embedded entry reading
- 2022-02-25 11:26:37下载
- 积分:1
-
dephi和access的数据库编程
可以计算工资和报表功能以及打印
dephi和access的数据库编程
可以计算工资和报表功能以及打印-Delphi and database access programming can calculate the wages and reporting capabilities, as well as print
- 2023-01-02 11:15:05下载
- 积分:1
-
Java 计算器
这是简单计算器创造的创作者与 Java 在 Netbeans 中,计算器可以做基本的计算,如加法。减法除法和乘法
- 2023-04-23 13:20:04下载
- 积分:1
-
这是一个简单的算法,用循环链表实现了猴子选王。用C语言描述...
这是一个简单的算法,用循环链表实现了猴子选王。用C语言描述-This is a simple algorithm, using the cycle to achieve the monkeys selected list king. Described using C language
- 2022-02-26 04:54:37下载
- 积分:1
-
vbbeep编程 vbbeep编程 vbbeep编程
vbbeep编程 vbbeep编程 vbbeep编程 -vbbeep编程vbbeep编程vbbeep编程vbbeep编程vbbeep编程vbbeep编程vbbeep编程
- 2022-01-26 06:38:32下载
- 积分:1