-
编写可串行化类时,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
-
我们参加比赛时的源程序,现在吐血奉上,希望大家一起提高,里面用到了0832,和液晶显示...
我们参加比赛时的源程序,现在吐血奉上,希望大家一起提高,里面用到了0832,和液晶显示-We take part in competitions at the source, and now offer hematemesis, hoping to improve the U.S., which used the 0832, and the liquid crystal display
- 2022-05-17 23:59:15下载
- 积分:1
-
acasscascs
你好,我的朋友
- 2023-07-09 17:50:03下载
- 积分:1
-
在 Delphi 开发中,我们有时要打印一些复杂的报表。这个时候,或许你会选择一些第三方报表组件来集成你应用程序的报表功能。虽然能快速开发报表功能,但对于一些报...
在 Delphi 开发中,我们有时要打印一些复杂的报表。这个时候,或许你会选择一些第三方报表组件来集成你应用程序的报表功能。虽然能快速开发报表功能,但对于一些报表功能要求不高的小程序,你又不愿意花额外的钱去购买第三方组件。这时候你可以考虑一下下面我讲的这个实现方法?-In the Delphi development, we sometimes want to print a number of complex statements. This time, perhaps you will choose a number of third-party component statements to integrate your application
- 2022-02-11 21:31:46下载
- 积分:1
-
一个ftp的vc源代码! 麻雀虽小,五脏具全!如果想自己做个ftp可以从这个程序做起!...
一个ftp的vc源代码! 麻雀虽小,五脏具全!如果想自己做个ftp可以从这个程序做起!-an ftp vc source code! Sparrow Although small, but with all! If you want to become their own ftp from the start of this procedure!
- 2022-11-21 09:20:03下载
- 积分:1
-
HTTP个人服务器源码,采用DELPHI编写,功能简单,适合新手看,老手就不用看了。...
HTTP个人服务器源码,采用DELPHI编写,功能简单,适合新手看,老手就不用看了。-personal HTTP server source code, prepared using DELPHI, functions simple, suitable for newcomers, the veteran will not have to read.
- 2023-04-12 00:35:03下载
- 积分:1
-
这是一个在屏幕上画图的案例,请大家看看,一定有所收获啊...
这是一个在屏幕上画图的案例,请大家看看,一定有所收获啊
-This is a drawing on the screen of the case, please look at the U.S. must gain ah
- 2022-05-30 14:47:09下载
- 积分:1
-
运用vc++获取计算机系统硬件的实例程序
运用vc++获取计算机系统硬件的实例程序 -Using vc++ to obtain examples of computer systems hardware procedures
- 2023-04-25 21:05:03下载
- 积分:1
-
Resize dynamic your control`s in a form. New concept add move properties. Is not...
Resize dynamic your control`s in a form. New concept add move properties. Is not original but will do the jobs.
- 2022-09-25 02:40:03下载
- 积分:1
-
程序开始时的动画窗口,显示创作者的相关信息等,欢迎界面(头文件)....
程序开始时的动画窗口,显示创作者的相关信息等,欢迎界面(头文件).-Program at the beginning of animated window displays relevant information such as creators, welcome interface (header file).
- 2022-03-17 17:39:31下载
- 积分:1