Question

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. :)

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top