windows mobile rapidxml
来源:互联网 发布:cntv直播软件 编辑:程序博客网 时间:2024/06/08 08:52
rapidxml在windows mobile崩溃,代码
xml_document<> docflowform;
原因:rapidxml内存池默认值过大。。在mobile上申请不成功
解决:
rapidxml.hpp
#ifndef RAPIDXML_STATIC_POOL_SIZE
// Size of static memory block of memory_pool.
// Define RAPIDXML_STATIC_POOL_SIZE before including rapidxml.hpp if you want to override the default value.
// No dynamic memory allocations are performed by memory_pool until static memory is exhausted.
//#define RAPIDXML_STATIC_POOL_SIZE (64 * 1024)
#define RAPIDXML_STATIC_POOL_SIZE (16 * 1024)
#endif
#ifndef RAPIDXML_DYNAMIC_POOL_SIZE
// Size of dynamic memory block of memory_pool.
// Define RAPIDXML_DYNAMIC_POOL_SIZE before including rapidxml.hpp if you want to override the default value.
// After the static block is exhausted, dynamic blocks with approximately this size are allocated by memory_pool.
//#define RAPIDXML_DYNAMIC_POOL_SIZE (64 * 1024)
#define RAPIDXML_DYNAMIC_POOL_SIZE (16 * 1024)
#endif
参考:http://stackoverflow.com/questions/7311323/strange-exceptions-using-rapidxml-under-windows-ce-6-0-windows-mobile-windows-em
- windows mobile rapidxml
- windows mobile
- Windows Mobile
- Windows Mobile
- Windows Mobile
- Windows Mobile
- windows mobile ?
- Windows Mobile】认识Windows Mobile
- windows Mobile 启动Mobile Office
- windows Mobile 启动Mobile Office
- windows Mobile 启动Mobile Office
- windows ce / windows mobile
- Windows Mobile 常见问题解答
- Windows mobile专区应用软件
- Windows mobile专区源代码
- Windows Mobile开发FAQ
- 关于 Windows Mobile
- Windows Mobile收编Palm?
- 修饰符的意义与this
- ArcGlobe定位
- U盘的数据丢失的情况时有发生
- mac如何设置vpn
- MFC之自定义消息
- windows mobile rapidxml
- VIM 自动补齐插件neocomplcache-8.0配置
- php四种基础算法:冒泡,选择,插入和快速排序法
- cppPrimer3
- SharePoint 2010 安全地让匿名用户访问门户站点
- 各种注释总结
- C++模板学习
- [Python下载CSDN博客]2. 使用BeautifulSoup分析HTML(一)
- 影响MySQL之IO性能最重要的几个参数