-
编写可串行化类时,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
-
file browers that makes you esy to navigate through files & folders
file browers that makes you esy to navigate through files & folders
- 2022-02-04 05:50:54下载
- 积分:1
-
表格全功能演示,采用实现添加行列、删除行列、移上、移下,编辑内容或样式。...
表格全功能演示,采用实现添加行列、删除行列、移上、移下,编辑内容或样式。-Full-featured demo table, the implementation to add the ranks of the ranks of delete, move up, move, the editorial content or style.
- 2022-05-09 04:08:43下载
- 积分:1
-
VB编写的动态链,且能够自定义字体
这个可以自己定义文字效果的的DLL文件,不是组件,可以直接像API那样调用
- 2022-02-20 03:37:54下载
- 积分:1
-
与构造函数的默认参数。一个重载的构造函数…
带默认参数的构造函数。又一个有关VC++构造函数重载的源程序,比较适合VC++初学者。以后我上传一系列这种类型的源程序供大家学习之用。-with default parameters of Constructors. One of the Heavy Constructors VC source, more suitable for beginners VC. After I uploaded a series of this type of source for all learning.
- 2023-07-11 04:45:02下载
- 积分:1
-
calculate squareroot
//求给定面积的圆的半径。
- 2022-01-22 08:37:55下载
- 积分:1
-
此源码实现了Windowsmobile pda开发中的GPRS的调用和关闭,有本人测试过,可行直接可以拿来用!...
此源码实现了Windowsmobile pda开发中的GPRS的调用和关闭,有本人测试过,可行直接可以拿来用!-This source Windowsmobile pda realize the development of GPRS calls on and off, I have tested and feasible can be used directly with!
- 2022-11-15 01:35:03下载
- 积分:1
-
基于servlet的一个简单的增删改查!
基于servlet的一个简单的增删改查!-A simple servlet-based additions and deletions to change search!
- 2023-06-01 16:50:04下载
- 积分:1
-
show the total uptime, but also anything dragged inside
显示开机时间的总和,还可以把任何东西拖到里面-show the total uptime, but also anything dragged inside
- 2022-02-25 21:29:35下载
- 积分:1
-
ppc下的evc编程,通过gdi操作,画2d图形
ppc下的evc编程,通过gdi操作,画2d图形-EVC programming under ppc by gdi operations, drawing 2d graphics
- 2023-08-30 06:30:04下载
- 积分:1