Undeclared identifier:XXX
未识别错误,是因拼写错误或找不到定义文件。
下面列举一些类型和函数用到的单元。
| _Stream | ADODB_TLB |
| akTop, akLeft, akRight, akBottom | Controls |
| Application (the variable not a type) | Forms |
| Beep | SysUtils or Windows (different functions) |
| CGID_EXPLORER | ShlObj |
| CN_BASE | Controls |
| CoInitialize | ActiveX |
| CopyFile | Windows |
| CoUnInitialize | ActiveX |
| CreateComObject | ComObj |
| CreateOleObject | ComObj |
| Date | SysUtils |
| DeleteFile | SysUtils or Windows (different versions) |
| DispatchInvokeError | ComObj |
| DWORD | Windows |
| EDatabaseError | DB |
| EncodeDateTime | DateUtils |
| EnumWindows | Windows |
| EOleError | ComObj |
| EOleException | ComObj |
| EOleSysError | ComObj |
| Exception | SysUtils |
| ExtractFileName | SysUtils |
| FileExists | SysUtils |
| FileOpen | SysUtils |
| FILETIME | Windows |
| FindFirst | SysUtils |
| FindFirstFile | Windows |
| FindWindow | Windows |
| FlushFileBuffers | Windows |
| fmOpenRead | SysUtils |
| fmShareDenyWrite | SysUtils |
| Format | SysUtils |
| FormatDateTime | SysUtils |
| FreeAndNil | SysUtils |
| fsBold | Graphics |
| ftWideString | DB |
| ftString | DB |
| GetCurrentProcessId | Windows |
| GetEnvironmentVariable | SysUtils or Windows (different versions) |
| GetFileAttributes | Windows |
| GetFileVersionInfoSize | Windows |
| GetWindowLong | Windows |
| GetStdHandle | Windows |
| HDC | Windows |
| HFont | Windows |
| HINTERNET | WinInet |
| HKEY_CURRENT_USER | Windows |
| IHTMLDocument2 | MSHTML or MSHTML_TLB |
| IHTMLElement | MSHTML or MSHTML_TLB |
| IHTMLEventObj | MSHTML or MSHTML_TLB |
| IID_IWebBrowser2 | SHDocVw or SHDocVw_TLB |
| IMessage | CDO_TLB |
| InternetClosehandle | WinInet |
| InternetOpenUrl | WinInet |
| InternetReadFile | WinInet |
| IntToHex | SysUtils |
| IntToStr | SysUtils |
| IOleCommandTarget | ActiveX |
| IOleContainer | ActiveX |
| IPersistStreamInit | ActiveX |
| IsSameDay | DateUtils |
| IStream | ActiveX |
| IWebBrowser2 | SHDocVw or SHDocVw_TLB |
| LockWindowUpdate | Windows |
| Log10 | Math |
| LowerCase | SysUtils |
| LPSTR | Windows |
| MAX_PATH | Windows |
| MessageBox | Windows |
| MessageDlg | Dialogs |
| MB_YESNO, MB_OK etc | Windows |
| MinutesBetween | DateUtils |
| Now | SysUtils |
| OleInitialize | ActiveX |
| OleUninitialize | ActiveX |
| PItemIDList | ShlObj |
| POleCmd | ActiveX |
| POleCmdText | ActiveX |
| PostMessage | Windows |
| PosX | StrUtils |
| QueryHighPerformanceCounter | Windows |
| QueryPerformanceCounter | Windows |
| ReverseString | StrUtils |
| RoundTo | Math |
| SendMessage | Windows |
| SetForegroundWindow | Windows |
| ShellExecute | ShellAPI |
| ShellExecuteEx | ShellAPI |
| SHGetFileInfo | ShellAPI |
| SHFILEINFO | ShellAPI |
| ShowMessage | Dialogs |
| Sleep | SysUtils |
| StrAlloc | SysUtils |
| StrPas | SysUtils |
| StrToDate | SysUtils |
| StrToInt | SysUtils |
| StrToIntDef | SysUtils |
| TAdoConnection | ADODB |
| TAdoQuery | ADODB |
| TAlign | Controls |
| TAlignment | Classes |
| TAnchors | Controls |
| TBitmap | Graphics |
| TBlobStream | DBTables |
| TCanvas | Graphics |
| TClientSocket | ScktComp |
| TComboBox | StdCtrls |
| TComponent | Classes |
| TControl | Controls or QControls |
| TCriticalSection | SyncObjs |
| TField | DB |
| TFieldType | DB |
| TFileName | SysUtils |
| TFileStream | Classes |
| TForm | Forms |
| TFrame | Forms |
| TGroupBox | StdCtrls |
| TIID | ActiveX |
| TIniFile | IniFiles |
| TJPEGImage | Jpeg |
| TLabel | StdCtrls |
| TList | Classes |
| TMemo | StdCtrls |
| TMemoryStream | Classes |
| TMouseButton | Controls |
| TNofityEvent | Classes |
| TObjectList | Contnrs |
| TOSVersionInfo | Windows |
| TPanel | ExtCtrls |
| TPoint | Types |
| TProcessEntry32 | TlHelp32 |
| TProgressBar | ComCtrls or QComCtrls |
| TRadioButton | StdCtrls |
| TRadioGroup | ExtCtrls |
| TRect | Types |
| TRegistry | Registry |
| Trim | SysUtils |
| TRoundToRange | Math |
| TSearchRec | SysUtils |
| TSize | Windows |
| TSocketAddrIn | Winsock |
| TStaticText | StdCtrls |
| TStream | Classes |
| TStringList | Classes |
| TStrings | Classes |
| TStringStream | Classes |
| TSystemTime | Windows |
| TTable | DBTables |
| TTabSheet | ComCtrls |
| TThread | Classes |
| TTreeNode | ComCtrls |
| TWebBrowser | SHDocVw or SHDocVw_TLB |
| TWinSocketStream | ScktComp |
| TWMCommand | Messages |
| Unassigned | Variants |
| VarArrayCreate | Variants |
| VarArrayOf | Variants |
| VirtualProtect | Windows |
| WM_USER | Messages |
| YearOf | DateUtils |
|
TDBXPropertyNames |
DBXCommon |
| TIdTCPConnection | IdTCPConnection |
Undeclared identifier:XXX的更多相关文章
- 【原】iOS 同时重写setter和getter时候报错:Use of undeclared identifier '_name';did you mean 'name'
写了那么多的代码了,平时也没有怎么注意会报这个错误,因为平时都很少同时重写setter和getter方法,一般的话,我们大概都是使用懒加载方法,然后重写getter方法,做一个非空判断.然后有时候根据 ...
- iomanip,setw(),setw: undeclared identifier
今天使用setw(),提示setw: undeclared identifier,上网查了下,原来是没有包含头文件iomanip,现摘录如下: iomanip #include <iomanip ...
- error C2065: 'assert' : undeclared identifier
F:\VC6.0 : error C2065: 'assert' : undeclared identifier 导入#include <assert.h>
- 使用某些Widows API时,明明包含了该头文件,却报错“error C2065: undeclared identifier”
在使用一些新版本的API,或者控件的新特性(比如新版的ComCtl32.dll)的时候,你可能会得到“error C2065: undeclared identifier.“这个错误.原因是这些功能是 ...
- loadrunner场景报错:Error: CCI compilation error -/tmp/brr_5d65oV/netdir/E/\320\324/Action.c (318): undeclared identifier `LAST'解决思路
在windows下写的脚本编译通过 但是拿到linux agent场景执行中就会提示如下,同样的脚本在windows agent下没有任何问题 agent连的是linux负载机 通过脚本一行一行排查, ...
- use of undeclared identifier 'xxxxxxx方法名'
在*.m文件中,编写一个方法,出现了 use of undeclared identifier 'xxxx方法名'. 遇到这种情况: 首先要看,*.h 文件是否定义了该方法. 其次,要检查一下,方 ...
- 蛋疼的Action.c (141): undeclared identifier `LAST'异常
之前这个脚本运行了很久都没有问题,今天突然在场景运行不了: Action.c (141): undeclared identifier `LAST' 害的老子一直在纠结,这个关联函数没有问题啊,怎么一 ...
- iOS No suitable application records were found. Verify your bundle identifier 'xxx' is correct.
1.错误提示 打包工程,Validate 的时候提示: No suitable application records were found. Verify your bundle identifie ...
- error C2065: 'CArchiveStream' : undeclared identifier
release:模式下 问题: 在导入JPEG文件时要使用到 CArchiveStream类 但是编译的时候会出现 'CArchiveStream' : undeclared ide ...
随机推荐
- JavaBean递归拷贝工具类Dozer
JavaBean深度拷贝利器——Dozer DozerBeanMapper对象之间相同属性名赋值 DozerBeanMapper + 对象转Map方法 Dozer(JavaBean的映射工具)开发手册
- 每天一个linux命令:cd命令
Linux cd 命令可以说是Linux中最基本的命令语句,其他的命令语句要进行操作,都是建立在使用 cd 命令上的. 所以,学习Linux 常用命令,首先就要学好 cd 命令的使用方法技巧. 1. ...
- MyBatis之one2one与one2many
<!--顾客信息表,其中一个顾客对应一个国家,一个顾客对应多个订单--> <resultMap id="customerResultMap" type=" ...
- 'AndroidManifest.xml' must have a minimum of 2 segments.
Manifest下必须有二级域名 <manifest xmlns:android="http://schemas.android.com/apk/res/android" p ...
- 用pip批量更新所有包
p.s在先,事实证明,把电脑里所有的python包一次性更新是吃力不讨好的工作,不过,这是另一回事,如果你一定要这么做,根据http://stackoverflow.com/questions/272 ...
- android手机内的通讯录数据库
今天看了一下 android手机内的通讯录数据库,简单的汇总了一下. 数据库见附件中的contacts2.db , 里面一共有40个表,34个视图,很庞大,挑几个重点的看一下. 1.表Raw_cont ...
- Yslow-23条军规
YslowYahoo发布的一款基于FireFox的插件,主要是为了提高网页性能而设计的,下面是它提倡了23条规则,还是很不错的,分享一下: 1.减少HTTP请求次数 合并图片.CSS.JS,改进首次访 ...
- PHP框架 Yii framework 用yiic命令时提示“php.exe”不是内部或外部命令
解决方案 yii/framework/yiic.bat,修改 if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exei ...
- Android 4.0以上BlurMaskFilter效果无效
Android MaskFilter的基本使用: MaskFilter类可以为Paint分配边缘效果. 对MaskFilter的扩展可以对一个Paint边缘的alpha通道应用转换.An ...
- C# winform开发嵌套Chrome内核浏览器(WebKit.net)开发(一)
https://www.cnblogs.com/Maxq/p/6566558.html WebKit.net是对WebKit的.Net封装, 使用它.net程序可以非常方便的集成和使用webkit作为 ...