srohit24
17th August 2009, 11:10
Hi
I am using QHttpResponseHeader to recieve data from a website through a api call.
Now for only 1 particular api, which returns all the data from a account, which is quite big, I am getting a error from windows xp saying the
"Visual Studio Just In Time Debugger"
An unhandled win32 exception occurred in myprogram.exe [4044].....
My guess is that the data sent from the webiste is too big for the QHttpResponseHeader to handle.
Is there any other class that performs the same way as QHttpResponseHeader but handle more data?
this is where i am reading the response. Depending on the call, I am parsing the data.
void api_request::readData(const QHttpResponseHeader &resp)
{
if (resp.statusCode() != 200)
http.abort();
else
{
xml.addData(http.readAll());
}
}
I am using QHttpResponseHeader to recieve data from a website through a api call.
Now for only 1 particular api, which returns all the data from a account, which is quite big, I am getting a error from windows xp saying the
"Visual Studio Just In Time Debugger"
An unhandled win32 exception occurred in myprogram.exe [4044].....
My guess is that the data sent from the webiste is too big for the QHttpResponseHeader to handle.
Is there any other class that performs the same way as QHttpResponseHeader but handle more data?
this is where i am reading the response. Depending on the call, I am parsing the data.
void api_request::readData(const QHttpResponseHeader &resp)
{
if (resp.statusCode() != 200)
http.abort();
else
{
xml.addData(http.readAll());
}
}