SHFILEOPSTRUCT
各位,我在CSDN上看到SHFILEOPSTRUCT結構使用的例子,但我把代碼復制過來調試時,錯誤提示如下:
Unit1.pas(31): Undeclared identifier: 'TSHFileOpStruct '
Unit1.pas(43): Undeclared identifier: 'Wnd '
等等的,
請問是不是要在使用 SHFILEOPSTRUCT 前先在uses內面加入調用它的單元?
謝謝。
[解决办法]
uses ShellAPI;