×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    19

    Unhappy Code Required:add event or delete event from log

    hi all,

    i really wanna a source code on how to add event to the log

    am i gonna use CLogClient::addEvent() function? how?

    and also wanna code on how to delete event from the log
    am i gonna use CLogClient::deleteEvent() function? how?

    guys it's really urgent

    thanks in advance.

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Code Required:add event or delete event from log

    There is a sample in the CallSummary example in the EMCC samples.

    http://www.forum.nokia.com/info/sw.n...60_2x.zip.html

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    19

    Re: Code Required:add event or delete event from log

    thnx alot 4 u reply Mr/Paul.Todd
    moving on i decided to use the function CLogClient::ClearLog(TInt aRecentList, TRequestStatus& aStatus);

    the code works OK!! without any error at the compile time
    but when running on the emulator it crashes i don't know why
    could anybody help me on this

    this is the code:
    <code>
    TRequestStatus trs;
    CLogClient* iSession = CLogClient::NewL(CEikonEnv::Static()->FsSession());
    iSession->ClearLog(1 ,trs);
    </code>

Similar Threads

  1. Replies: 1
    Last Post: 2005-05-26, 14:22
  2. Help! Basic TCP connection - Source code attached
    By dineshguru in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2002-10-10, 05:01
  3. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29
  4. Replies: 0
    Last Post: 2002-06-10, 12:24
  5. Creating and Delete databases
    By -kevbo- in forum Symbian
    Replies: 1
    Last Post: 2001-12-13, 12:54

Posting Permissions

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