Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to use WinExec
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00092940
Message ID:
00093043
Vues:
35
Tim,

It might be a problem with VFP running the same program twice in the same folder, like trying to use foxuser.dbf exclusive in both instances.

Can you from a desktop shortcut launch the EXE twice without it choking on the second?

Why would the EXE want to spawn itself again? Maybe you need a seperate controller program that is responsible for launching the multiple instances of the app.

>Yes, I can get this working from the command window too, but the problem I am having is getting it to work from within the EXE. I have run some further test, and it seems I can launch another EXE that is different from the EXE current running. For example inside A.EXE, I can do a WinExec("B.EXE", 1) with no problem, but I cannot do a WinExec("A.EXE", 1).
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform