这个问题多半是编译开关造成的,就是include了头文件,但是依然显示编译错误,楼主可以不用include头文件,直接加入这一段:
typedef struct _browseinfo {
HWND hwndOwner;
LPCITEMIDLIST pidlRoot;
LPTSTR pszDisplayName;// Return display name of item selected.
LPCTSTR lpszTitle; // text to go in the banner over the tree.
UINT ulFlags; // Flags that control the return stuff
BFFCALLBACK lpfn;
LPARAM lParam; // extra info that's passed back in callbacks
int iImage; // output var: where to return the Image index.
} BROWSEINFO, *PBROWSEINFO, *LPBROWSEINFO;复制代码
或者找一下Shlobj.h中,哪个编译开关未定义,导致找不到BROWSEINFO等结构体的定义。
详情回复
发表于 2010-5-1 09:52