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 ...
随机推荐
- MySql 存储过程总结
MySql 存储过程 -- ---------------------------- -- Procedure structure for `proc_adder` -- -------------- ...
- 基于SOA的组件化业务基础平台[转]
转自https://www.ibm.com/developerworks/cn/webservices/1111_xiaojg_soa/index.html 业务基础平台是业务逻辑和基础架构平台之间的 ...
- C# 根据第几周和季度 获取开始时间和结束时间
/// <summary> /// 根据第几周 获取开始时间和结束时间 /// </summary> /// <param name="week"&g ...
- muscle 软件进行多序列比对
今天在使用muscle 软件进行多序列比对时,发现输出的结果全部为gap, 而且还没有明显的报错信息 找了很久之后,终于发现了问题 muscle 为了追求速度,对输入序列的个数和长度进行了限制 下面是 ...
- php base64_encode,serialize对于存入数据表中字段的数据处理方案
A better way to save to Database $toDatabse = base64_encode(serialize($data)); // Save to database $ ...
- js判断字符串是否json格式
function isJSON(str) { if (typeof str == 'string') { try { var obj=JSON.parse(str); if(typeof obj == ...
- CSDN极客头条使用指南
CSDN极客头条使用指南 今天给大家介绍一下CSDN博客最新推出的这个栏目--CSDN极客头条. 极客头条是什么 极客头条大家分享优质IT资源的聚集地. 大家不仅能够分享CSDN的文章,更能够将其它社 ...
- 多个table 相同col 的 设置相同width
不同table 中的col 虽然设置了width 相同,但在IE8.9中长度仍不统一.经检查是不同table使用了不同的colspan ,删除colspan全部使用<td></td& ...
- php的MCRYPT_RIJNDAEL_256 和mcrypt_encrypt 用法
<?php $key = "miyao";//密钥 $string="jiami";//需要加密的字符 $d = new d(); //加密 $crypt ...
- Masonry插件:内容始终水平居中
跟随浏览器框架大小,主题内容居中 代码 <!DOCTYPE html> <html> <head> <title>masonry瀑布流插件</ti ...