-
编写可串行化类时,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
-
This source code implements a simple development environment based on EVC' s...
本源码实现了一个基于EVC开发环境的简单的画图板-This source code implements a simple development environment based on EVC" s drawing board
- 2022-10-23 05:20:03下载
- 积分:1
-
c# gridview的使用案例,还不错
c# gridview的使用案例,还不错-c# gridview the use cases, but also good
- 2022-04-22 04:18:24下载
- 积分:1
-
ftp客户端,非常好用
我从网上找的资源,开发中使用,目前正在使用中,有需要的朋友,可下载使用,非常好用,喜欢的朋友下载试一试吧,这个客户端,比较简单,能满足大家的基本需求
- 2022-01-25 17:40:46下载
- 积分:1
-
VC++Singleton windows 环境平台
VC++Singleton windows 环境平台 -VC++ Singleton windows environment platform
- 2022-04-15 23:46:29下载
- 积分:1
-
VC脚本DLL模版
应用背景针对辅助的一个模版,大家可以用这个模版自己添加代码关键技术主线程调用,解决各种CALL执行不了的情况, 窗口子类化技术,防止游戏检测堆栈, 隐藏DLL模块,防止其他进程扫描,消息传递,减少游戏检测.其他技术自己看
- 2022-03-12 18:42:38下载
- 积分:1
-
目录,数据库
一个通讯录,对数据库-a directory, the database
- 2022-03-21 15:05:53下载
- 积分:1
-
This is for my use of any continued fraction method is its root value of the num...
这是我编的利用连分式方法计算任意正数根号值的程序。-This is for my use of any continued fraction method is its root value of the number of procedures.
- 2022-02-13 20:59:28下载
- 积分:1
-
这是操作系统中的一个进程调度算法的源程序!使用delphi7.0K开发!...
这是操作系统中的一个进程调度算法的源程序!使用delphi7.0K开发!-This is a programme of arithmetic of process attemper with DELPHI 7.0.
- 2022-01-26 16:05:21下载
- 积分:1
-
vb.net source we hope to help a bit
vb.net源码 希望对大家有点帮助-vb.net source we hope to help a bit
- 2023-06-25 20:30:03下载
- 积分:1