首页 新闻 搜索 专区 学院

vc++ 6.0 编译出现的错误vs2005 vc++ .net也是这样错误

0
悬赏园豆:20 [已解决问题] 解决于 2012-10-20 02:26

C:\Documents and Settings\Administrator\桌面\Explorer_68728\Explorer\afximpl.h(132) : error C2061: syntax error : identifier 'DWORD_PTR'
C:\Documents and Settings\Administrator\桌面\Explorer_68728\Explorer\afximpl.h(145) : error C2061: syntax error : identifier 'DWORD_PTR'
C:\Documents and Settings\Administrator\桌面\Explorer_68728\Explorer\afximpl.h(280) : error C2556: 'unsigned long __stdcall _AfxCommDlgProc(struct HWND__ *,unsigned int,unsigned int,long)' : overloaded function differs only by return type from 'unsi
gned int __stdcall _AfxCommDlgProc(struct HWND__ *,unsigned int,unsigned int,long)'

笨笨,跳跳的主页 笨笨,跳跳 | 初学一级 | 园豆:164
提问于:2012-08-02 22:33
< >
分享
最佳答案
0

能把你的代码贴上来吗???

收获园豆:20
羽商宫 | 老鸟四级 |园豆:2490 | 2012-08-02 23:20

#ifndef _AFXDLL
typedef HWND (WINAPI HTMLHELPPROC)(HWND hwndCaller, LPCTSTR pszFile, UINT uCommand, DWORD_PTR dwData);

class _AFX_HTMLHELP_STATE : public CNoTrackObject
{
public:
 virtual ~_AFX_HTMLHELP_STATE();

 HINSTANCE m_hInstHtmlHelp;
 HTMLHELPPROC *m_pfnHtmlHelp;
};
EXTERN_PROCESS_LOCAL(_AFX_HTMLHELP_STATE, _afxHtmlHelpState)
#endif

HWND WINAPI AfxHtmlHelp(HWND hWnd, LPCTSTR szHelpFilePath, UINT nCmd, DWORD_PTR dwData);

#undef AFX_DATA

笨笨,跳跳 | 园豆:164 (初学一级) | 2012-08-02 23:34
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册