用的EVC,在头文件里:
struct DSKSZTOSECPERCLUS {
DWORD DiskSize;
BYTE SecPerClusVal;
};
static struct DSKSZTOSECPERCLUS DskTableFAT12[] = {
{ 4080, 1}, /* disks up to 1.99 MB, .5k cluster */
{ 8160, 2}, /* disks up to 3.98 MB, 1k cluster */
{ 16320, 4}, /* disks up to 7.97 MB, 2k cluster */
{ 32640, 8}, /* disks up to 15.94 MB, 4k cluster */
{ 0xFFFFFFFF, 0} /* any disk greater than 15.94 MB, 0 value for SecPerClusVal trips an error */
};
可是编译出错:error C2065: 'DskTableFAT12' : undeclared identifier
这个头文件我已经包含了阿。怎么会这样呢?
我怎么没有编译出错呢
evc 4.0 + sp4 + standard sdk