General information
Category:
Windows API functions
Environment versions
Network:
Windows 2000 Server
If I run this code, when it invocates GetFullPathName that produces an error "Too many arguments" and I don't know why
DECLARE INTEGER GetFullPathName IN WIN32API kernel32;
STRING lpFileName,;
INTEGER nBufferLength,;
STRING @ lpBuffer,;
INTEGER @ lpFilePart
lpFileName = "foxuser.dbf"
nBufferLength = 250
lpBuffer = SPACE(nBufferLength)
lpFilePart = 0
lnResult = GetFullPathName (lpFileName, nBufferLength, @lpBuffer, @lpFilePart)
IF lnResult > 0 And lnResult <= nBufferLength
lpBuffer = Left(lpBuffer, lnResult-1)
? lpBuffer
ENDIF
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only