C++ 适用于 Windows Mobile 的 WinInet 包装器
环境:Win32、C++/VS2008
我需要使用 Windows Mobile 手机从互联网发出 HTTP(不是 HTTPS)请求,以节省时间 + 重新发明轮子,想知道这里是否有人可能已经分享了一个简单的 C++(Win32?)WinInet 包装器或类似的类?
到目前为止,我使用 Google 找到的最接近的是 codeproject,但想知道是否有人这里可能还有更好的实现。
谢谢。 :)
Environment: Win32, C++/VS2008
I'm getting into the need to make HTTP (not HTTPS) requests from the internet using a Windows Mobile phone and to save time + reinventing the wheel, wondered if anybody here might have kindly shared a simple C++ (Win32?) WinInet wrapper or similar class?
The closest I found so far using Google is on codeproject, but wondered if someone here might yet have a better implementation.
Thank you. :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Windows 上的 WinInet API 与 Windows CE 上的相同。 而且它的编程极其简单。 为什么在继续之前需要一个非常简单的 C API 的 C++ 包装器?
如果您需要有关 WinInet 的帮助,请提出实际问题。
在最简单的情况下,WinInet 的使用将从 InternetOpen 开始,然后是 InternetOpenUrl 和 InternetReadFile。 创建一个类来总结对它的访问实际上是留给读者的一项练习。
The WinInet API is the same on Windows as it is on Windows CE. And its disgustingly easy to program. Why do you need a c++ wrapper for a really simple C API before you can proceed?
If you need help with WinInet, then ask an actual question.
In the simplest case, use of WinInet would start with InternetOpen, followed by InternetOpenUrl and InternetReadFile. Making a class to wrap up access to that is really an exercise left for the reader.