-
编写可串行化类时,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
-
贪吃蛇小游戏,食物随机出现后必须让食物能够在整格内,这样才可以让蛇吃到...
贪吃蛇小游戏,食物随机出现后必须让食物能够在整格内,这样才可以让蛇吃到-Snake game, food must be allowed after random food in the whole box, so as to allow the snake to eat
- 2022-09-30 13:30:03下载
- 积分:1
-
a button example with picture in windows CE
WinCE下的一个图形按钮例子-a button example with picture in windows CE
- 2022-12-18 00:30:03下载
- 积分:1
-
屏幕取词VC6.0源码
DLLEXPORT BOOL WINAPI SetNHW32() { if(g_hHook == NULL) { g_hHook = SetWindowsHookEx(WH_GETMESSAGE, GetMsgProc, g_hinstDll, 0); if (g_hHook == NULL) { MessageBox(NULL, __TEXT("Error hooking: SetWindowsHookEx fail"), __TEXT("GetWord"), MB_OK); return FALSE; } } return TRUE;}
- 2022-05-28 06:17:38下载
- 积分:1
-
VC++经典小游戏源代码
其中包括6个小游戏,分别是扫雷、俄罗斯方块、拼图、贪食蛇、推箱子和连连看。开发工具是VC++ 6.0
- 2022-08-24 17:18:51下载
- 积分:1
-
更改目标文件字节序,以写入flash中,适应big/little endian 的CPU。...
更改目标文件字节序,以写入flash中,适应big/little endian 的CPU。-Change the target file byte order, to write to flash, the adaptation big/little endian of the CPU.
- 2023-05-20 07:05:04下载
- 积分:1
-
自己写的关于用matlab画的bezier curve的程序,可以在次基础上,添加曲线修补的功能...
自己写的关于用matlab画的bezier curve的程序,可以在次基础上,添加曲线修补的功能-Ploting the bezier
- 2022-06-03 16:09:32下载
- 积分:1
-
方便地在Dlg上滚动地显示调试信息
方便地在Dlg上滚动地显示调试信息-easy rolling on the Dlg shows debugging information
- 2022-12-29 17:10:03下载
- 积分:1
-
source code of NN applied in DAC
source code of NN applied in DAC-Based Successive Approximation
- 2022-03-02 08:32:06下载
- 积分:1
-
lazarus under the application of multi
lazarus下的多线程编程应用,可以看看,大家开心-lazarus under the application of multi-threaded programming
- 2022-08-05 19:45:42下载
- 积分:1