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

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

于 2022-08-17 发布 文件大小:361.31 kB
0 146
下载积分: 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 个回复

  • A simple calculator is available using this source code
    一个实现了简单计算器得程序-A simple calculator is available using this source code
    2022-11-20 07:45:03下载
    积分:1
  • 在线请假管理
    sndcisdahufh sndcisdahufh heuifhdusndcsisdahufh heuifhdusndcsisdahufh heuifhdusndcsisdahufh heuifhdusndcsisdahufh heuifhdusndcsisdahufh heuifhdusndcsisdahufh heuifhdusndcsdahufh heuifhdusndcsdahufh heuifhdusndcsdahufh heuifhdusndcsdahufh heuifhdusndcsdahufhheuifhdu sndcisdahufh Heuifhdusndcsisdahufh heuifhdu sndcisdahufh Heuifhdusndcsdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh Heuifhdusndcsisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufhheuifhdu sndcisdahufh Heuifhdusndcsisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh Heuifhdusndcsdahufh Heuifhdusndcsdahufh Heuifhdusndcsdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh Heuifhdusndcsdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu sndcisdahufh heuifhdu
    2022-03-11 08:13:57下载
    积分:1
  • tj大学 研究生 矩阵论Matrix 教授资料
    tj大学 研究生 矩阵论Matrix 教授资料-tj Professor University Graduate Matrix theory of information
    2023-03-19 18:05:04下载
    积分:1
  • XS128飞思卡尔电磁车代码
    飞思卡尔电磁组代码,包括电磁传感器检测算法和电机控制算法等
    2023-05-05 22:25:03下载
    积分:1
  • 这是个操作系统的程序,关于作业进程调度的程序,有界面的!
    这是个操作系统的程序,关于作业进程调度的程序,有界面的!-This is a operating system program, about task process attemper,with interface.
    2023-04-26 12:30:04下载
    积分:1
  • 一种压缩感知图像的重构算法 ,具有很好的效果
    图像的重构处理中 ,压缩感知是一个新的技术,本程序通过采用压缩感知的OMP算法,可以还原图像,对图像的处理有很好的效果,尤其是新手和做毕设的同学可以参考
    2023-04-10 04:45:04下载
    积分:1
  • facelet使用演示 facelet使用演示
    facelet使用演示 facelet使用演示-facelet the use of demo using the demo facelet
    2022-05-16 12:09:50下载
    积分:1
  • 从模板创建 DialogBox,到内存
    从 DataSection 中读取数据,创建 DialogBoxIndirectParam_ 非常非常简单的例子。
    2023-03-03 08:35:03下载
    积分:1
  • VC++ MFC 始终在最上面的窗体.rar
    VC++ MFC 始终在最上面的窗体.rar-VC++ MFC has always been at the top of the form. Rar
    2022-07-21 23:02:32下载
    积分:1
  • 桌面工厂CNC 12_6
    桌面工厂CNC系统,12.6版本。此系统带RTCM功能,5轴控制。
    2023-01-29 21:25:04下载
    积分:1
  • 696518资源总数
  • 105728会员总数
  • 2今日下载