gsoap bug under windows: %lld or…
来源:互联网 发布:c语言 经典书籍 pdf 编辑:程序博客网 时间:2024/05/21 09:59
gsoap bug under windows: %lld or %I64d
Zhang X.
Aug 30, 2010
gSoap is an open source tool to support Web service withcross-platform support.
Recently we find a small bug in gsoap-created source code onWindows/Windows moble
platform, which is related to __int64 encode to and decode fromXML string.
gSoap default code to handle XML string of __int64 is like:
The root cause is simple. Although the code works on UNIX/LINUXplatform.
On windows-family platforms, you should use "I64d" to format__int64 value.
So the final solution could be very simple, you just need use"%I64d"
take the place of "%lld" with code being #ifdef _WIN32 macrocovered.
- gsoap bug under windows: %lld or…
- SQLiteManager for Mac Or Windows
-  
-
- How to sign a Driver by Windows …
- Build ffmpeg under Cygwin
- 集线器 交换机 路由器 网桥 …
- Build X264/ffMpeg under MinGW/MS…
- ZZULI 1615 easy or puzzle ?(字…
- XML Parsing Error: XML or text d…
- 关于 adding a new disk or removi…
- poj 2762 Going from u to v or fr…
- poj 2762 Going from u to v or fr…
- 使用BBED修改SCN …
- Windows Embedded Standard 7 开发…
- Windows Embedded Standard 7 开发…
- Windows Embedded Standard 7 开发…
- Windows Embedded Standard 7 开发…
- Base64编码
- Zlib: data compression/decompres…
- 粤语好难听,尤其从女孩子嘴里出来
- CMPP协议对长短信的支持
- 奇怪,奇怪,不过想想在中国酒不奇…
- gsoap bug under windows: %lld or…
- 抽象工厂模式--GOF的23个之一
- gsoap中文乱码及内存清理等问题的…
- gSOAP 2.7.17 online User Guide
- visual studio 2010 破解
- PDA - tomorrow to check
- 我的博客今天3岁360天啦!
- 几篇不错的socket文章
- 在Windows Mobile实现虚拟键盘的思…