×

Discussion Board

Results 1 to 4 of 4

Thread: MHFRunError: -4

  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    131

    MHFRunError: -4

    anyone know what does this error code for the HTTP connection class means?

    it is returned from here:
    Code:
    TInt CClientEngine::MHFRunError(TInt aError,
                    RHTTPTransaction /*aTransaction*/,
                    const THTTPEvent& /*aEvent*/)
      {
      // Just notify about the error and return KErrNone.
      HBufC* resMHFRunError = StringLoader::LoadLC(R_HTTP_MHFRUN_ERROR, aError);
      iObserver.ClientEvent(*resMHFRunError);
      CleanupStack::PopAndDestroy(resMHFRunError);
      return KErrNone;
      }
    after this line is called:
    Code:
      // Submit the transaction. After this the framework will give transaction
      // events via MHFRunL and MHFRunError.
      iTransaction.SubmitL();

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: MHFRunError: -4


  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    131

    Wink Re: MHFRunError: -4

    Quote Originally Posted by symbianyucca View Post
    thanks a lot symbianyucca,
    by the way, would you know if that means i need more heap memory or stack?

    i believe it's due to the "body" and "postdata" in the HTTPClient class that is too large...

    thanks

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: MHFRunError: -4

    if you run out of stack, you normlly get Kern-Exec 3, so it is Heap issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×