Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFullPathName
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00999402
Message ID:
00999404
Vues:
53
Your declare is incorect
DECLARE INTEGER GetFullPathName IN WIN32API;
        STRING    lpFileName,;
        INTEGER   nBufferLength,;
        STRING    @lpBuffer,;
        STRING    @lpFilePart

lpFileName = "foxuser.dbf"
nBufferLength = 250
lpBuffer = SPACE(nBufferLength)
lpFilePart = ""
lnResult = GetFullPathName (lpFileName, nBufferLength, @lpBuffer, @lpFilePart)
IF lnResult > 0 And lnResult <= nBufferLength
    lpBuffer = Left(lpBuffer, lnResult-1)
    ? lpBuffer
ENDIF
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