Deleting intermediate files and output files for project 'eInfo - Win32 Debug'.
--------------------Configuration: eInfo - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
f:\einfo\debug\mshtml.tlh(73018) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Compiling...
AttachmentDlg.cpp
Baseinfo.cpp
Context.cpp
crack.cpp
daocore.cpp
F:\eInfo\daocore.cpp(5909) : warning C4073: initializers put in library initialization area
DataStore.cpp
F:\eInfo\DataStore.cpp(942) : warning C4101: 'e' : unreferenced local variable
DataUpLoadDlg.cpp
f:\einfo\shprogresswnd.h(70) : error C2143: syntax error : missing ';' before '*'
f:\einfo\shprogresswnd.h(70) : error C2501: 'IProgressDialog' : missing storage-class or type specifiers
f:\einfo\shprogresswnd.h(70) : error C2501: 'm_pIDlg' : missing storage-class or type specifiers
eInfo.cpp
eInfoDoc.cpp
FileLogAppender.cpp
FileUtils.cpp
FoodBackupDlg.cpp
FormDlg.cpp
GetHardSoftInfo.cpp
HtmlCtrl.cpp
HttpDownloadDlg.cpp
IDataManager.cpp
IDataReportHandler.cpp
IHandler.cpp
IUIModel.cpp
F:\eInfo\IUIModel.cpp(1857) : warning C4101: 'daoEx' : unreferenced local variable
F:\eInfo\IUIModel.cpp(2543) : warning C4101: 'e' : unreferenced local variable
Generating Code...
Compiling...
LawviewDlg.cpp
Log.cpp
LogAppender.cpp
MainFrm.cpp
F:\eInfo\MainFrm.cpp(155) : warning C4806: '==' : unsafe operation: no value of type 'bool' promoted to type 'const int' can equal the given constant
Mainview.cpp
f:\einfo\shprogresswnd.h(70) : error C2143: syntax error : missing ';' before '*'
f:\einfo\shprogresswnd.h(70) : error C2501: 'IProgressDialog' : missing storage-class or type specifiers
f:\einfo\shprogresswnd.h(70) : error C2501: 'm_pIDlg' : missing storage-class or type specifiers
MyVer.cpp
ScriptAgent.cpp
SHProgressWnd.cpp
f:\einfo\shprogresswnd.h(70) : error C2143: syntax error : missing ';' before '*'
f:\einfo\shprogresswnd.h(70) : error C2501: 'IProgressDialog' : missing storage-class or type specifiers
f:\einfo\shprogresswnd.h(70) : error C2501: 'm_pIDlg' : missing storage-class or type specifiers
F:\eInfo\SHProgressWnd.cpp(46) : error C2065: 'PROGDLG_NORMAL' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(48) : error C2614: 'CSHProgressWnd' : illegal member initialization: 'm_pIDlg' is not a base or member
F:\eInfo\SHProgressWnd.cpp(51) : error C2065: 'CLSID_ProgressDialog' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(52) : error C2065: 'IID_IProgressDialog' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(52) : error C2065: 'm_pIDlg' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(63) : error C2227: left of '->StopProgressDialog' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(65) : error C2227: left of '->Release' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(81) : error C2227: left of '->SetTitle' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(90) : error C2227: left of '->SetAnimation' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(99) : error C2227: left of '->SetAnimation' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(111) : error C2227: left of '->SetCancelMsg' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(119) : error C2065: 'PROGDLG_NOTIME' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(119) : error C2065: 'PROGDLG_AUTOTIME' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(133) : error C2065: 'PROGDLG_NOMINIMIZE' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(142) : error C2065: 'PROGDLG_NOPROGRESSBAR' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(163) : error C2227: left of '->StartProgressDialog' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(165) : error C2065: 'PROGDLG_MODAL' : undeclared identifier
F:\eInfo\SHProgressWnd.cpp(188) : error C2227: left of '->StartProgressDialog' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(222) : error C2227: left of '->SetLine' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(242) : error C2227: left of '->SetProgress' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(257) : error C2227: left of '->SetProgress' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(278) : error C2227: left of '->SetProgress64' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(293) : error C2227: left of '->SetProgress64' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(306) : error C2227: left of '->HasUserCancelled' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(316) : error C2227: left of '->StopProgressDialog' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(331) : error C2227: left of '->Timer' must point to class/struct/union
F:\eInfo\SHProgressWnd.cpp(331) : error C2065: 'PDTIMER_RESET' : undeclared identifier
StatLink.cpp
SysConfigDlg.cpp
SystemInit.cpp
SystemInitDlg.cpp
UploadProgressDlg.cpp
Utility.cpp
UUIDUtils.cpp
VersionChkDlg.cpp
WebUtils.cpp
WebVersion.cpp
ZipUnzip.cpp
Generating Code...
Error executing cl.exe.
Creating browse info file...eInfo.exe - 36 error(s), 6 warning(s)

解决方案 »

  1.   

    f:\einfo\shprogresswnd.h(70) : error C2143: syntax error : missing ';' before '*'
    f:\einfo\shprogresswnd.h(70) : error C2501: 'IProgressDialog' : missing storage-class or type specifiers
    f:\einfo\shprogresswnd.h(70) : error C2501: 'm_pIDlg' : missing storage-class or type specifiers
    根据这三句估计,你可以少包括了.'IProgressDialog'这个接口的头文件.
      

  2.   

    #include "IProgressDialog.h"或者要在你将IProgressDialog.cpp 和.h 加到你工程中
      

  3.   

    没有找见IProgressDialog.h
    这个是不是platform sdk中自带的,我已经安装了windows2003,但没有发现,请指点!
      

  4.   

    在文件中加了#include "IProgressDialog.h"
    报下面错误,怎么回事,新手,请指点
    Compiling...
    SHProgressWnd.cpp
    F:\eInfo\SHProgressWnd.cpp(26) : fatal error C1083: Cannot open include file: 'IProgressDialog.h': No such file or directory
    Error executing cl.exe.SHProgressWnd.obj - 1 error(s), 0 warning(s)
      

  5.   

    IProgressDialog
    The IProgressDialog interface is exported by the progress dialog box object (CLSID_ProgressDialog). This object is a generic way to show a user how an operation is progressing. It is typically used when deleting, uploading, copying, moving, or downloading large numbers of files.The progress dialog box object creates a modeless dialog box and allows the client to set its title, animation, text lines, and progress bar. The object then handles updating on a background thread and allows the user to cancel the operation. Optionally, it estimates the time remaining until the operation is complete and displays the information as a line of text.
    Requirements 
      Version 5.00 and later of Shell32.dll  Windows NT/2000: Requires Windows 2000. 
      Windows 95/98/Me: Requires Windows Me. 
      Header: Declared in Shlobj.h.