×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    61

    Unable to access methods

    Hi friends....
    I have been trying to code an application where it searches and scan for files form an specified directory. I have found this code in the Wiki Forum
    http://wiki.forum.nokia.com/index.php/Find_Files

    According to it it should scan the files from a given directory. But when i embed the code in my application, I am unable to access the StartScanL() and ScanDirectoryL() methods.......Please suggest a solution for this problem.

    Thank U
    Regards,
    Chandra Shekhar

  2. #2
    Registered User
    Join Date
    Nov 2008
    Location
    Mumbai-India
    Posts
    379

    Re: Unable to access methods

    Quote Originally Posted by chandras2k6 View Post
    According to it it should scan the files from a given directory. But when i embed the code in my application, I am unable to access the StartScanL() and ScanDirectoryL() methods.......Please suggest a solution for this problem.
    StartScanL() and ScanDirectoryL() metods are user defined method in that link not standard one so chk from where r u accesing that function and chk c++ accessing the class member rule . if that methods are private in some class then u can not access from outside the class

  3. #3
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    61

    Re: Unable to access methods

    Hi buddy
    Thanks for the reply... I forgot to write that piece of code and I corrected my mistake. And here it is:

    void StartScanL(RFs aFs, const TDesC& aPath, const TDesC& aWild, CDesCArray* aArray);
    void ScanDirectoryL(RFs& aFs, const TDesC& aDir, const TDesC& aWild, CDesCArray* aArray);

    I wrote this in .h file of my application and its working fine...

    Thank U
    Regards,
    Chandra Shekhar

Similar Threads

  1. Unable to access internet from J2ME on N85, N86
    By MehediHasan in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2009-01-21, 09:55
  2. Unable to access activation keys
    By ashish_apj in forum Digital Rights Management & Content Downloading
    Replies: 11
    Last Post: 2008-11-19, 09:15
  3. N70 Access Point becomes Unusable
    By ravey72 in forum Symbian
    Replies: 0
    Last Post: 2007-04-18, 10:58
  4. N70 Access Point Selection
    By ravey72 in forum Mobile Java General
    Replies: 2
    Last Post: 2006-09-22, 20:12
  5. Why use direct screen access?
    By Kalderas in forum Symbian
    Replies: 3
    Last Post: 2003-10-10, 14:29

Posting Permissions

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