Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequential execution with a DOS based application
Message
De
26/02/2001 15:40:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Sequential execution with a DOS based application
Divers
Thread ID:
00479717
Message ID:
00479717
Vues:
63
Hi to everyone, I am new at this forum and I have just started developing in vfp and I have the following problem.
I have a prg in vfp 5.0 that runs a DOS based script application using the "Run" command. This application creates 2 new files in a default directory that is later accessed by the following lines in my prg via a FOPEN command.
The thing is, I am getting at times an access conflict on these files as I cant
make sure that the Fopen commands only executes after the other application has finished running. Appart from this, the DOS application doesnt close up after execution, so I dont know exactly when it has definitely let go of the files it has created.
Is there some way I can make execution totally sequential even if I am working in a windows environment? (Tried some things with the file() and sys(16) and even using a timer but none worked a 100pct or were efficient enough). Hope I´ve been clear enough and someone can lend me a hand.

Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform