Hello:
I have an application and I want to finish and restart it again. This is needed in situations like change language in menus or similar things, but I don't know how to do it. Any sugestion ?
Regards,
José Luis
how to restart an app
- José Luis Sánchez
- Posts: 484
- Joined: Thu Oct 13, 2005 9:23 am
- Location: Novelda - Alicante - España
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- José Luis Sánchez
- Posts: 484
- Joined: Thu Oct 13, 2005 9:23 am
- Location: Novelda - Alicante - España
- Contact:
No, I want to do with the same exe. Imagine you allow the user to select the language of the app, and you have your menus with i18n() calls... you have to reinit the app to achieve the menus on the new language selected. It's pretty smart if the app reinit for itself, not need the user doubleclick the icon again.
I want this to do my Colossus - http://www.alanit.com/programas/colossus.php - multilingual
Regards,
I want this to do my Colossus - http://www.alanit.com/programas/colossus.php - multilingual
Regards,
-
- Posts: 142
- Joined: Sun Oct 09, 2005 10:59 am
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
What is "i18n() calls"? Anyway, it should be possible to change the menu items language without restarting the EXE. Why do you want to restart the EXE?José Luis Sánchez wrote:No, I want to do with the same exe. Imagine you allow the user to select the language of the app, and you have your menus with i18n() calls... you have to reinit the app to achieve the menus on the new language selected. It's pretty smart if the app reinit for itself, not need the user doubleclick the icon again.
I want this to do my Colossus - http://www.alanit.com/programas/colossus.php - multilingual
Regards,
EMG
-
- Posts: 108
- Joined: Sun Oct 09, 2005 6:12 pm
- Location: Mar del Plata - Argentina
- Contact:
Jose Luis:
You can call another fw application that calls your exe again, with a non visible window and then exit as the only task to do. In your fw program you call this exe and quits. The new application can activate a timer to wait a few seconds before execute the other program, if necessary.
Regards,
You can call another fw application that calls your exe again, with a non visible window and then exit as the only task to do. In your fw program you call this exe and quits. The new application can activate a timer to wait a few seconds before execute the other program, if necessary.
Regards,
- José Luis Sánchez
- Posts: 484
- Joined: Thu Oct 13, 2005 9:23 am
- Location: Novelda - Alicante - España
- Contact: