The function return type should be int.
[edit]
...As you've already discovered. ;o)
You can also do this...
[edit]
...As you've already discovered. ;o)
You can also do this...
Extern "Win32" Function GetDiskFreeSpaceEx(WindowText$z, FreeBytesToCaller%% Var, TotalBytes%% Var, TotalFree%% Var) = "GetDiskFreeSpaceExA@16" End Extern ...ETC... GetDiskFreeSpaceEx("C:", FreeBytesToCaller%%, Total%%, FreeBytes%%) ...ETC...[/edit]