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

New Post: Getting the Right Syntax for uploading a file using the exe. of the code below

$
0
0
Hi Steven,

That is the exact problem then, you are getting an exception which you are not handing so the process is going to crash. You need to catch the http_exception and take a look at the message and error code to see what the problem is. In general you should be aware you need to handle exceptions when using the C++ REST SDK, all network errors are treated as exceptions and thrown as http_exceptions. I also recommend you read up on how to use PPL tasks, the unit of asynchrony in the library.

Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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