shellapi.h error C2065: “HDROP”: 未声明的标识符,编译出无数错误,都是这个头文件的错误 solution: #include "windows.h " // 前面加上这个 #include "shellapi.h "