Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a .exe from within another .exe
Message
De
24/04/1998 13:28:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00094707
Message ID:
00094712
Vues:
19
>I am developing in VFP 3.0 on a W3.1 platform.
>
>I have 2 executables.
>
>If I run each .exe separately from Program Manager, I get two separate "Tasks" in the Task List and I can alt-tab between the two at will.
>
>If I run the second .exe from within the first .exe (using "do xyz.exe"), there is only one "Task" and exiting the second .exe also ends the first .exe because of the CLEAR EVENTS line.
>
>I would like to start the second .exe from within the first and have it be a completely seperate app within Windows.
>
>Any and all help would be greatly appreciated.
>
>Thanks,
>
>Rob

I believe you need to use a Win32API function such as ShellExecute() or CreateProcess() from within your first EXE. George Tasker is da man for the Win32API stuff. Is this correct George?

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform