求教(50分)

  • 主题发起人 主题发起人 vikon_chan
  • 开始时间 开始时间
V

vikon_chan

Unregistered / Unconfirmed
GUEST, unregistred user!
调用函数getdiskfreespace('c:/',c2,c3,c4,c5)出错。c2,c3,c4,c5为integer形。<br>请问问题在那
 
BOOL GetDiskFreeSpace(<br><br>&nbsp; &nbsp; LPCTSTR lpRootPathName, // address of root path <br>&nbsp; &nbsp; LPDWORD lpSectorsPerCluster, // address of sectors per cluster <br>&nbsp; &nbsp; LPDWORD lpBytesPerSector, // address of bytes per sector <br>&nbsp; &nbsp; LPDWORD lpNumberOfFreeClusters, // address of number of free clusters &nbsp;<br>&nbsp; &nbsp; LPDWORD lpTotalNumberOfClusters // address of total number of clusters &nbsp;<br>&nbsp; &nbsp;);<br><br>不是整形把!
 
<br>var<br>&nbsp; d2,d3,d4,d5 : PDWORD ;<br>procedure aaa;<br>begin<br>GetdiskfreeSpace(pchar('c:/'), d2,d3,d4,d5);<br>end;
 
多人接受答案了。
 
后退
顶部