Hi Albert!
Use Integer instead of Long in your declaration
>declare GetDiskFreeSpace in win32api as getdiskfreespace ;
> STRING @ lpRootPathName, ;
> LONG @ lpSectorsPerCluster, ;
> LONG @ lpBytesPerSector, ;
> LONG @ lpNumberOfFreeClusters, ;
> LONG @ lpTotalNumberOfClusters
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer