-
编写可串行化类时,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
-
在Java中轻松打印文档,java中打印文档的解决
在Java中轻松打印文档,java中打印文档的解决-in Java easily print documents, print documents java solution
- 2022-06-12 11:03:22下载
- 积分:1
-
基于Java的简易俄罗斯方块
基于JAVA编写的俄罗斯方块游戏,可以实现暂停,和恢复正常游戏,方块变形,加速下落,积分牌等功能,目前不支持保存游戏,以单独窗口方式运行
- 2022-06-19 12:02:04下载
- 积分:1
-
智能家居app控制界面设计
该app可用于智能家居控制的界面实现,里面包含多个界面,可用于wifi模块连接app,界面设计简便,代码有注释,可移植性好。
- 2022-02-04 16:55:01下载
- 积分:1
-
快捷键的使用,为了给菜单提供一个稳定的界面,还要为菜单添加快捷键...
快捷键的使用,为了给菜单提供一个稳定的界面,还要为菜单添加快捷键-shortcuts use, in order to provide a stable menu interface, but also add to the menu shortcuts
- 2022-06-18 07:36:13下载
- 积分:1
-
Written with Delphi Gobang procedures, the need for winskindata controls,
用Delphi写的五子棋程序,需要winskindata控件,-Written with Delphi Gobang procedures, the need for winskindata controls,
- 2022-02-07 12:54:11下载
- 积分:1
-
first come first serve 2
first come first serve 2
- 2022-12-22 06:30:03下载
- 积分:1
-
vc开发的多线程聊天软件源码,winsock编程,mfc
vc开发的多线程聊天软件源码,winsock编程,mfc-Network chat program source code, support multithread.
- 2022-02-13 12:20:40下载
- 积分:1
-
C语言中的鼠标处理函数.可以设置鼠标的样子,隐藏鼠标,设置鼠标的移动范围。...
C语言中的鼠标处理函数.可以设置鼠标的样子,隐藏鼠标,设置鼠标的移动范围。-C language processing function of the mouse. You can set the mouse"s appearance, hidden mouse, the mouse"s range of movement.
- 2022-05-22 02:06:23下载
- 积分:1
-
VB的一个查找字符组合(数字版)
VB的一个查找字符组合(数字版)-VB find a combination of characters (digital version)
- 2022-02-01 06:39:41下载
- 积分:1