Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare integer SearchTreeForFile In IMAGEHLP.DLL
Message
 
À
14/04/2005 04:33:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01004516
Message ID:
01004520
Vues:
18
>Declare integer SearchTreeForFile In IMAGEHLP.DLL String lpRootPath , String lpInputName, String lpOutputName
>
>sPathBuffer = Space(512)
>
>SearchTreeForFile("C:\", "prova.txt", sPathBuffer )
>
>If i execute the code the sPathBuffer contains a empty value and not a path where the file is find.
>If i use this function in VB it's correct!
>
>Why this ?
>
>Thank

try this:
Declare integer SearchTreeForFile  In IMAGEHLP.DLL String lpRootPath , String lpInputName, String @lpOutputName

sPathBuffer = Space(512)

SearchTreeForFile("C:\", "prova.txt", @sPathBuffer )
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform