Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor cool_ranjeet's Avatar
    Join Date
    Jul 2009
    Posts
    97
    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 kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,667
    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 cool_ranjeet's Avatar
    Join Date
    Jul 2009
    Posts
    97
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,667
    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
  •  
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