K,真奇怪!!!
ICount := Integer(ExtractIcon(Handle, 'FileName', -1));
取得图标总数,编译通不过
ExtractIcon(Handle, 'FileName', 0);
取得第一个图标handle,没问题
sdk帮助中明明有这样一句
Specifies the index of the icon to retrieve. If this value is 0, the function returns the handle of the first icon in the specified file. If this value is -1, the function returns the total number of icons in the specified file.
tmd就是编译通不过,什么原因?