Hi,
I tried the following DECLARE..... However, I copy the sample from VB code which use WITH TYPE to gather 2 32-bits Long variable and it still return the same result.... I am using Win98.
DECLARE INTEGER GetDiskFreeSpaceEx IN "kernel32.dll" STRING lpDirectoryName, INTEGER @lpFreeBytesAvailableToCaller, INTEGER @lpTotalNumberOfBytes, INTEGER @lpTotalNumberOfFreeBytes
LOCAL lnRetValue
STORE 0 TO lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes,
lpTotalNumberOfFreeBytes
lnRetValue = GetDiskFreeSpaceEx(tcDrive, @lpFreeBytesAvailableToCaller, @lpTotalNumberOfBytes, @lpTotalNumberOfFreeBytes)
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...