Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFullPathName
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00999402
Message ID:
00999404
Views:
51
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform