Hi,
I am using HTTP Post method to communicate with the server.
Following is the code snippet...
RHTTPResponse response = aTransaction.Response();
TInt status = response.StatusCode();
// retrive status text
TBuf<KMaxStatusTextLength> statusText;
statusText.Copy( resp.StatusText().DesC() );
// Load a string from the resource file and add status and status text
HBufC* textResource = StringLoader::LoadLC( R_HEADER_RECEIVED, statusText, status );
iObserver.ClientEvent( *textResource );
CleanupStack::PopAndDestroy( textResource );
Where R_HEADER_RECEIVED is "Header data received: %U %N"
My code fails at "StringLoader::LoadLC"... WHY?
Any type of help is appreciated.
Regards,
Mehul

Reply With Quote


