Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Feb 2009

    null cheacking in file

    i would like to know ,how to check the file reca16 contain null or not.pls send sample code.

    if (iErr1 == KErrNone)

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: null cheacking in file

    What is 'null' in this context?
    Are you interested in the length of a file? RFs::Entry+TEntry::iSize could have told you that even without opening the file. However since you have actually opened it, RFile::Size can also tell you that. And if the file happens to be empty, reca8.Length(), reca8.Size(), reca16.Length() and reca16.Size() will all be 0.
    Are you interested in the first occurence of a 0? reca8.Locate(0) or reca16.Locate(0) can tell you that.
    Or what?

Similar Threads

  1. Obfuscate python code
    By bercobeute in forum Symbian
    Replies: 20
    Last Post: 2008-02-26, 20:06
  2. Video playback with sound but nothing on Screen
    By abdullah829 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2007-11-30, 14:04
  3. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31
  5. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22

Posting Permissions

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