4天前编的程序,忘怎么编的了,再编就出错了.
觅食的猫猫 2011-11-03 01:26:18 错误代码:
--------------------Configuration: COMD - Win32 Release--------------------
Compiling...
COMDDlg.cpp
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(157) : error C2065: 'capCreateCaptureWindow' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(159) : error C2440: '=' : cannot convert from 'int' to 'struct HWND__ *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(167) : error C2065: 'capDriverConnect' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(168) : error C2065: 'CAPDRIVERCAPS' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(168) : error C2146: syntax error : missing ';' before identifier 'cpas'
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(168) : error C2065: 'cpas' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(169) : error C2065: 'capDriverGetCaps' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(170) : error C2228: left of '.fCaptureInitialized' must have class/struct/union type
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(172) : error C2065: 'CAPSTATUS' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(172) : error C2146: syntax error : missing ';' before identifier 'status'
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(172) : error C2065: 'status' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(173) : error C2065: 'capGetStatus' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(174) : error C2065: 'capPreviewRate' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(175) : error C2065: 'capPreview' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(723) : error C2065: 'capGrabFrame' : undeclared identifier
E:\vc6\MSDev98\MyProjects\ourdev_618758Y8K7LM\COMD\COMDDlg.cpp(725) : error C2065: 'capFileSaveDIB' : undeclared identifier
Error executing cl.exe.
Creating browse info file...
COMD.exe - 16 error(s), 0 warning(s)
怎么回事呢?是不是没在头文件里加什么啊?
那天编完光高兴了,忘记下步骤了,啊这可怎么办呐