PDA

View Full Version : Error - Why pWebRespInfo->nCode == -1288??


sachinppatil
08-27-2003, 07:41 AM
Hello Dear Friends,

In the code -
-----------------------------------------------------------------------------------------------------
WebRespInfo* pWebRespInfo = IWEBRESP_GetInfo(pMe->m_pIWebResp);
int ByteCount;
char buf[128];

if (pWebRespInfo && WEB_ERROR_SUCCEEDED(pWebRespInfo->nCode))
-----------------------------------------------------------------------------------------------------
In this when there is a call for IWEBRESP_GetInfo it returns the WebRespInfo. But the value inside pWebRespInfo->nCode is '-1288'. Which is wrong. In the manual it is stated that if nCode contains -ve value then it's a system error.

Can anybody tell me what is this error and what is the solution for that?

Thanks in advance.
With Regards,

kurquhar
08-28-2003, 02:00 PM
The manual also says to use WEB_ERROR_MAP to convert it to an AEE error. This will yield 1288 (0x508), which is WEB_ERROR_ADDRUNKNOWN according to AEEError.h.

Mohtashim Ismai
10-06-2008, 11:45 PM
pWebRespInfo->nCode returns -557,

Prior to porting my code to the latest software label I was able to see a successful session.
After porting to the latest software label pWebRespInfo->nCode returns -557,
Can anybody let me know what could be the errror?

ruben
10-07-2008, 05:30 AM
You may want to check how you are allocating URL, post data buffer before calling IWEB_GetResponse, those parameters should be on the heap