Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running external program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01051001
Message ID:
01051232
Vues:
14
>Is this can help?
>
>Searching for the specified file using the SearchPath
>http://www.news2news.com/vfp/?example=250&function=397
>
>The code uses SearchPath function from kernel32 API:
>DECLARE INTEGER SearchPath IN kernel32;
>	STRING    lpPath,;
>	STRING    lpFileName,;
>	STRING    lpExtension,;
>	INTEGER   nBufLen,;
>	STRING  @ lpBuffer,;
>	INTEGER @ lpFilePart
>
>By default, the function searches for a matching file in the following directories in the following sequence:
>
>The directory from which the application loaded.
>
>The current directory.
>
>The system directory. Use the GetSystemDirectory function to get the path of this directory.
>
>The 16-bit system directory. There is no function that retrieves the path of this directory, but it is searched.
>
>The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
>
>The directories that are listed in the PATH environment variable.

Thanks, Anatoliy. In my particular case I installed this program in the place that has nothing to do with any system path (I guess, I should have sticked with default directory instead).
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform