Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: casablanca120.xp import failure

$
0
0
Hi joeccmou,

I'm confused and don't really understand your first problem. If you are getting unresolved symbol errors it sounds like you are not linking to a .lib file.

For the second problem getting exceptions. You are seeing errors being returned from the underlying platform API, in this case WinHttp. They can be caused for a variety of reasons, for example network connectivity. Try catching http_exception instead of std::exception. This is the exception type thrown by the http_client library. On the http_exception class there is a an API http_exception::error_code(). It returns a std::error_code which contains an error code from the OS and an error string with more information.

Steve

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>