Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executable switches for compiled programs
Message
 
 
À
02/07/2001 11:20:35
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00525901
Message ID:
00525904
Vues:
12
Hi!

Define the main module (starting mosdule) of the EXE file in the project to be a PRG file. Put the parameters statement as the first line of the PRG. Receive as many parameters as possible, I guess there could be only 32 parameters. If EXE ran with command-line parameter, appropriate parameter of the main PRG will get value of each element of the parameters string. Elements are much like command-line switches separated by space. You can check if certain parameter in PRG got value in such case using "vartype(ParameterN)=='C'" expression.

HTH.

>Does anyone know how to send a parameter to a compiled executable (EXE) from the DOS command line or a Batch file or command window, etc...thanks,
>-Irv.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform