×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Question Question: About access the private directory within two exe applications

    Hello,


    here is another question:

    There are two exe programs used in one installation application: one is a background exe, and the other is a GUI.

    I use only one file for storing the configuration parameters of these two programs. I want the configuration file only to be accessible by my application, in other words, I would like it to be stored in the private directory of my application.

    But the problem is, there are two private directories. Each program can only access its owns. So the configuration file can not be stored in any one of these two directories.

    My questions are:
    if it is possible for one installation application that its exe applications can access their all private directories?
    or
    if there is any other possible directory, which can only be accessible for my own application?


    Thanks


    Regards

    Pai
    Symbian && Android && iPhoneOS

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Question: About access the private directory within two exe applications

    Private directory of one application/exe can not be accessed by another application/exe, even if both sites in one installation package. if you want to share data between two application than either keep it in public folder or use IPC mechanism.

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Question: About access the private directory within two exe applications

    If you try accessing private directory of other processes, you need AllFiles capability.

    If you don't have allFiles capability, you could instead use non-protected folders.

    Or you could make your other process as a server, accessing the data, and all other processes would access the data only through the sever process.

  4. #4
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: Question: About access the private directory within two exe applications

    Thanks for the answering,


    because these two exe programs can/must work stand-alone, the configuration file should/must be read by themself alone. So IPC or Client-Server doesn't work for me.


    Now, it looks like the configuration file can only be stored in an unprotected directory, althrough it should be hidden for accessing by other 3rd-party applications.


    Regards

    Pai
    Symbian && Android && iPhoneOS

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Question: About access the private directory within two exe applications

    You could maybe consider using encryption, sinc ethere is realle no way on actually hiding it completely..

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,745

    Re: Question: About access the private directory within two exe applications

    Though every question is unique and new, this one seems to be an exception. There is already a parallel thread running in this topic here and now: http://discussion.forum.nokia.com/fo...d.php?t=163523

Similar Threads

  1. Replies: 3
    Last Post: 2009-10-10, 19:34
  2. another Null pointer exception
    By kvchen1985 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2004-06-28, 15:33
  3. Nokia 6800 - Directory Structure Access - Question
    By itpaladin in forum General Development Questions
    Replies: 0
    Last Post: 2004-04-05, 14:49
  4. Painting problem
    By guidopater in forum Mobile Java Media (Graphics & Sounds)
    Replies: 12
    Last Post: 2003-06-20, 08:53
  5. Error #: 704 : cannot access directory ...
    By rolf007 in forum Mobile Java General
    Replies: 0
    Last Post: 2002-08-01, 08:03

Posting Permissions

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