Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    135

    file checking with case sensitive have problem

    hi all,

    if(BaflUtils::FileExists(session,aFilePath))
    {

    flag = ETrue;

    }
    else
    {
    flag = EFalse;
    }

    i have written this code for file checking but when i append filepath in capital and compare with small case letter file path

    it return true for(though there is missmatch in case)

    is there any way for checking with case sensitive filechecking



    thanks in advance

    bye

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

    Re: file checking with case sensitive have problem

    use CompareF instead of Compare when comparing the strings (The F denotes Folded which is the Symbian term for non locale specific comparisons)
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. 编译Qt样例出错,请看如下:
    By TD3 in forum Symbian
    Replies: 2
    Last Post: 2009-12-17, 11:57
  2. Problem with ensymble_python2.5-0.26.py in linux
    By tansualpcan in forum Symbian
    Replies: 2
    Last Post: 2008-04-15, 10:12
  3. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 16:31

Posting Permissions

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