×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Is that any way to read a text file in sharable mode

    Hi Experts

    I want to read a text file in two exe's simultaneously, that read file value in a loop, and if file value change then loop terminate, when only one exe reads file then no problem but when both exe read file then after some time App main Closed comes and my application crashes. Please help me

    Thanks
    Amit

  2. #2
    Registered User
    Join Date
    Oct 2007
    Posts
    178

    Re: Is that any way to read a text file in sharable mode

    Add EFileShareAny to your file.open...

    Code:
        TInt fileError;
        fileError = file.Open( iFileSession, fileName, EFileRead | EFileShareAny );

  3. #3
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: Is that any way to read a text file in sharable mode

    Ya thanx, i have done before, thanks

Similar Threads

  1. Read from a text file
    By razas in forum Symbian
    Replies: 4
    Last Post: 2010-12-06, 05:53
  2. Replies: 0
    Last Post: 2004-03-28, 06:51
  3. How to read normal text file??
    By namnyuck74 in forum Symbian
    Replies: 3
    Last Post: 2004-03-19, 09:03
  4. Read a text file
    By spleendiego in forum Mobile Java General
    Replies: 1
    Last Post: 2003-11-24, 20:15

Posting Permissions

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