×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    87

    Flush the data from buffer to file

    hello friends ...
    i have some log data in buffer .. my target is when the program is exited ,the buffer data should go to file....how to do?
    please can anyone say ..............

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

    Re: Flush the data from buffer to file

    you of course need to save it before exiting, and you also need use APIs that can do teh saving. One possible one would be RFile.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,699

    Re: Flush the data from buffer to file

    If you mean writing a log when your application panics, that is not possible. If you mean a normal exit situation, you can get some idea from the very first answer of this joke: http://jeremy.zawodny.com/blog/archives/009023.html

Similar Threads

  1. Data not sent after flush()
    By OguzDonmez in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2009-02-28, 16:08
  2. How to flush the data stored in TBuf?
    By Sneha1 in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-11-02, 06:14
  3. Replies: 4
    Last Post: 2007-09-10, 10:18
  4. Flush BT Buffer
    By berny_ in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2006-11-30, 12:30
  5. necessary/possible to flush BT buffer?
    By estoner in forum Symbian
    Replies: 7
    Last Post: 2005-07-05, 08:41

Posting Permissions

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