登录
首页 » Windows开发 » 编写可串行化类时,MFC用你指定的模式号制定一个粗略的版本控制方式。在向档案写数据时,MFC用模式标记该类的实例;而在读回数据时,MFC将档案中的记录的模式号和...

编写可串行化类时,MFC用你指定的模式号制定一个粗略的版本控制方式。在向档案写数据时,MFC用模式标记该类的实例;而在读回数据时,MFC将档案中的记录的模式号和...

于 2022-08-17 发布 文件大小:361.31 kB
0 234
下载积分: 2 下载次数: 1

代码说明:

编写可串行化类时,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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • The Duine Framework is a (collection of) software libraries that allows develope...
    The Duine Framework is a (collection of) software libraries that allows developers to create prediction engines for their own applications. A prediction engine is a component that predicts how interested individual users are in pieces of information. Such predictions can be used to personalise information to users, specifically in recommending to users what information is and is not of interest to them. Duine is the Irish Gaelic word for person and is pronounced as “dinne” (diner without an ‘r’). Duine has been developed by the Telematica Instituut/Novay and is based on scientific research on personalisation and specifically into recommender systems. The scientific research results on which the Duine software is based are available at the Telematica Instituut/Novay, you can download the pdf here
    2022-01-22 06:50:58下载
    积分:1
  • 计算停车车库信息
    停车场车库计算器。这被开发使用 c# 大学级别类。停车场车库计算器。这被开发使用 c# 大学级别类。
    2022-02-02 13:18:35下载
    积分:1
  • 基于SSH的购物网站
    使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,使用SSH框架 开发的电子产品购物网站,
    2023-01-27 21:05:08下载
    积分:1
  • 车上的收音机项目汽车无线电工程。
    car radio project car ra dio project.
    2022-02-20 00:11:47下载
    积分:1
  • 可供初学Turbo c的人使用,其中的6个文件是独立的,它们给出了显示汉字的各种方法。...
    可供初学Turbo c的人使用,其中的6个文件是独立的,它们给出了显示汉字的各种方法。-Turbo c for the beginners to use, the six documents are independent, they are given a Chinese character display the various methods.
    2022-03-21 13:34:20下载
    积分:1
  • 通讯录管理
    通讯录管理 -directory management directory management
    2023-06-26 13:00:04下载
    积分:1
  • 推荐使用winhex,四面八方,格式转换,把所有的…
    建议使用WinHex,各种方向、格式的转换通吃 打开文件 工具栏上 Convert, Intel HEX -> Binary 或者(汉化版) 转换,Intel 16进制 -> 二进制 保存,搞定。 -Recommend the use of WinHex, in all directions, format conversion takes all the toolbar to open the file Convert, Intel HEX-
    2022-10-16 23:40:03下载
    积分:1
  • 简单的画图工具,用VB能实现画直线矩形圆等
    简单的画图工具,用VB能实现画直线矩形圆等-A simple drawing tools, use VB to achieve circular, such as drawing a straight line rectangular
    2022-01-25 19:03:51下载
    积分:1
  • 实现对PE文件的相关操作。可以对文件的图标,节,内容等进行操作...
    实现对PE文件的相关操作。可以对文件的图标,节,内容等进行操作-The achievement of the relevant documents on the operation of PE. Icon on the document, section, content, etc. to operate
    2022-04-24 11:24:17下载
    积分:1
  • 一些转换代码,hex to char,char to hex
    一些转换代码,hex to char,char to hex-Some of the conversion code, hex to char, char to hex
    2022-03-13 15:05:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载