Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User aamitgupta's Avatar
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503
    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 ManuMies's Avatar
    Join Date
    Oct 2007
    Posts
    178
    Add EFileShareAny to your file.open...

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

  3. #3
    Registered User aamitgupta's Avatar
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503
    Ya thanx, i have done before, thanks

Similar Threads

  1. Read from a text file
    By razas in forum Symbian C++
    Replies: 4
    Last Post: 2010-12-06, 05:53
  2. [moved] Theme Studio Error
    By TalJ in forum Themes/Carbide.ui
    Replies: 2
    Last Post: 2009-09-06, 03:39
  3. How can i read a large text in resource file?
    By MyDear in forum Symbian C++
    Replies: 0
    Last Post: 2004-03-28, 06:51
  4. How to read normal text file??
    By namnyuck74 in forum Symbian C++
    Replies: 3
    Last Post: 2004-03-19, 09:03
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved