×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    97

    Question launching itself

    i have an exe, on a particular condition i need to launch itself.

    is it allowed?
    do i need to do exit(0), after launching itself exe.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: launching itself

    Quote Originally Posted by cool_ranjeet View Post
    i have an exe, on a particular condition i need to launch itself.

    is it allowed?
    do i need to do exit(0), after launching itself exe.
    I don't think there is any problem in doing so as long as it's requirement of your project. By the way, which type of "Exe" it is? GUI application or console based exe?
    Nokia Developer Wiki Moderation team

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

    Re: launching itself

    Basically there can be multiple processes based on same executable, so as long as you don't disturb your own clones, it is ok. With UI apps, the launching multipl ones is prevented in CAkn base classes.

  4. #4
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    97

    Re: launching itself

    it's background exe, it means that both can run parally,
    and i need to do exit(0) if i want the newer one alive.

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

    Re: launching itself

    if the applicationj logic allows multiple intances, then it should not be a problem.

Similar Threads

  1. How to get chipID after launching Midlet using push registry?
    By sweetsweet24 in forum Near Field Communication
    Replies: 2
    Last Post: 2010-01-05, 21:41
  2. Replies: 5
    Last Post: 2008-12-08, 14:17
  3. Replies: 1
    Last Post: 2006-07-19, 05:13
  4. Replies: 5
    Last Post: 2005-09-12, 05:30
  5. problem - launching email app using UID
    By gparthi in forum Nokia M2M
    Replies: 0
    Last Post: 2005-09-02, 07:09

Posting Permissions

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