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 ...
随机推荐
- e809. 在菜单中使菜单项分开
A separator typically appears as a horizontal line. It is used to group related sets of menu items i ...
- e609. Listening to All Focus Changes Between Components in an Application
To listen to focus change events between components, install a listener with the keyboard focus mana ...
- perl学习-运算符添加引号
这个比较有意思,在其它语言中好像没有特别提到 Perl 引号运算符如下表所示. 运算符描述实例 q{ }为字符串添加单引号q{abcd} 结果为 'abcd' qq{ }为字符串添加双引号qq{abc ...
- C# 获取文件夹下的所有文件的文件名
String path = @"X:\xxx\xxx"; //第一种方法 var files = Directory.GetFiles(path, "*.txt" ...
- Java多线程——可阻塞的队列BlockingQueue
阻塞队列与Semaphore有些相似,但也不同,阻塞队列是一方存放数据,另一方释放数据,Semaphore通常则是由同一方设置和释放信号量. ArrayBlockingQueue 只有put方法和ta ...
- Objective-C语法之NSPredicate的使用
正则表达式判断手机号码和电话号码的方法: #import <Foundation/Foundation.h> /** 正则判断手机号码地址格式 */ BOOL isMobileNumber ...
- 【Deep Learning】RNN LSTM 推导
http://blog.csdn.net/Dark_Scope/article/details/47056361 http://blog.csdn.net/hongmaodaxia/article/d ...
- 和我一起学《HTTP权威指南》——连接管理
连接管理 1.TCP连接 几乎所有的HTTP通信都是由TCP/IP承载的. 浏览网页时客户端执行的操作: 如浏览http://www.joes-hardware.com:80/power-tools. ...
- python内存泄漏,python垃圾手动回收,1
部署的舆情系统,内存变大,找原因. 一个小例子. def func(): local_list = list(range(10000000)) func() time.sleep(200) 能够观察到 ...
- Java通过复选框控件数组实现添加多个复选框控件
编写程序,通过复选框控件数组事先选择用户爱好信息的复选框,在该程序中,要求界面中的复选框数量可以根据指定复选框名称的字符串数组的长度来自动调节. 思路如下: 创建JPanel面板对象: 使用JPane ...