-
编写可串行化类时,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
-
用vc++实现Direct 3D中的粒子系统。调试环境:Win XP;VC++ 6.0
用vc++实现Direct 3D中的粒子系统。调试环境:Win XP;VC++ 6.0 -Using vc++ to achieve in the Direct 3D particle system. Debugging environment: Win XP VC++ 6.0
- 2022-02-06 16:47:47下载
- 积分:1
-
HOFFMAN algorithm to achieve a simple process, we hope to learn useful
HOFFMAN算法的一个简单实现过程,希望对大家的学习有用-HOFFMAN algorithm to achieve a simple process, we hope to learn useful
- 2022-09-20 11:55:02下载
- 积分:1
-
.NET Compact Framework数据访问技术杂谈讲稿
.NET Compact Framework数据访问技术杂谈讲稿-. NET Compact Framework Data Access technical talk script
- 2022-12-08 02:20:03下载
- 积分:1
-
使用WMI进行查询
使用WMI进行查询-use WMI query
- 2022-04-28 21:13:15下载
- 积分:1
-
The source provides a number of MSN contact operation, including import and expo...
该源码提供对MSN的联系人的一些操作,包括导入导出联系人等-The source provides a number of MSN contact operation, including import and export contact, etc.
- 2022-03-11 09:09:57下载
- 积分:1
-
用java程序实现的小闹钟,功能实用简单哦,特别棒
用java程序实现的小闹钟,功能实用简单哦,特别棒-Java program to use a small alarm clock, features a simple and practical Oh, special rods
- 2022-12-22 14:25:03下载
- 积分:1
-
单片器开发 采用C语言和汇编语言所结合的一个很好的CPU处理期...
单片器开发 采用C语言和汇编语言所结合的一个很好的CPU处理期-monolithic device development using C and Assembly Language by the combination of a very good period CPU
- 2023-05-07 21:50:03下载
- 积分:1
-
The program is to send Email. It is used in windows system via vc++ and it can t...
发送电子邮件程序,主要是通过vc++在windows系统上使用,测试发送邮件-The program is to send Email. It is used in windows system via vc++ and it can test sending Email.
- 2022-02-02 22:56:49下载
- 积分:1
-
用户输入十个数据,能够计算他们的平均值,方差,均方根
用户输入十个数据,能够计算他们的平均值,方差,均方根-10 user input data, to calculate their average, variance, root-mean-square
- 2022-01-25 15:44:20下载
- 积分:1