Access violation reading location 0xcccccccc

I am facing issue while executing C++ code.
Following is the sample code:

http::client client;
http::client::request request(signed_URL);
http::client::response response = client.get(request);
std::cout << body(response) << std::endl;


The code compiles successfully.
It through error on line:

--> std::cout << body(response) << std::endl;


ERROR Message:

Unhandled exception at 0x005138db in Check.exe: 0xC0000005: Access violation reading location 0xcccccccc.

> Following is the sample code
Your sample code is useless.

Follow this guideline http://www.eelis.net/iso-c++/testcase.xhtml (ignore point 8)
Last edited on
I have upload the complete solution (.sln). You can download the code from the following link:

https://www.dropbox.com/s/avsts0xqh72pnbc/http_sample_using_C.zip?dl=0

Further, I have tried by signing the URL using C# code and then try that signed URL in C++. but found the same error. On the other hand, the C# code executes successfully.
Topic archived. No new replies allowed.