All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 19-10-2004, 12:11 PM
joape382 joape382 is offline
Registered User
 
Join Date: Sep 2004
Posts: 30
joape382 is on a distinguished road
Program crash at CActiveScheduler::Start()

Why does my application close down at the last given row below? (starting
the active scheduler):

iDataChunkCount = 0;
TUriParser8 uri;
uri.Parse(aUri);

RStringF method = iSess.StringPool().StringF(HTTP::EPOST,
RHTTPSession::GetTable());

iTrans = iSess.OpenTransactionL(uri, *iTransObs, method/*aMethod*/);
RHTTPHeaders hdr = iTrans.Request().GetHeaderCollection();

// Add headers appropriate to all methods
SetHeaderL(hdr, HTTP::EUserAgent, KUserAgent);

// Content type header
TBuf8<KMaxContentTypeSize> contTypeBuf;
_LIT(KTextHtml, "text/html");
contTypeBuf.Copy(KTextHtml);
RStringF contTypeStr = iSess.StringPool().OpenFStringL(contTypeBuf);
THTTPHdrVal contType(contTypeStr);
hdr.SetFieldL(iSess.StringPool().StringF(HTTP::ECo ntentType,
RHTTPSession::GetTable()), contType);
contTypeStr.Close();

MHTTPDataSupplier* dataSupplier = this;
iTrans.Request().SetBody(*dataSupplier);

iTrans.SubmitL(); //Submit the transaction

//Start the scheduler, once the transaction completes or is cancelled on an
error the scheduler
// will be stopped in the event handler
CActiveScheduler::Start();

  #2  
Old 01-01-2008, 10:42 AM
avibatbha avibatbha is offline
Registered User
 
Join Date: Jan 2008
Posts: 1
avibatbha is on a distinguished road
Hello Sir,

I have same issue as i came to know about it by searching the thread.
I am making an HttpClient application on S60.
I am using CHttpExampleClient as given in Examples of
S60 2nd edition FP3 SDK.

I have code which request by submitting a transaction
& then after getting default response the cycle repeats.
But when server sends hdrs then program crashes at
CActiveSchduler::Start().

I am unable to find the solution.If anyone knows then please help.

With Thanks & Regards,
Parveen Bhatia.

  #3  
Old 16-06-2008, 12:29 PM
sundarrajanr sundarrajanr is offline
Registered User
 
Join Date: Jun 2008
Posts: 1
sundarrajanr is on a distinguished road
Hi ..

I was developing httpclient in Carbide C++ and UIQ 3.x SDK .... Even i am facing the same problem . The program crashes at CActiveScheduler::Start() ... I do know wat was the reason .... could any one tell me ....

Thanks
Sundar
Ads
 

Bookmarks

Tags
cactiveschedulerstart, crash, program

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Symbian Signed launched Rafe Symbian OS News 1 06-02-2011 09:26 AM
New N-Gage Game: Crash Nitro Kart Rafe N-Gage 1 16-02-2004 03:10 PM
UIQ Selected Partner Program announced Rafe UIQ 0 03-12-2003 01:28 PM
Symbian launch Affiliate Partner Program Rafe Symbian OS News 0 29-04-2003 12:32 AM



All times are GMT. The time now is 04:25 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy