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 ...
随机推荐
- perl学习-运算符添加引号
这个比较有意思,在其它语言中好像没有特别提到 Perl 引号运算符如下表所示. 运算符描述实例 q{ }为字符串添加单引号q{abcd} 结果为 'abcd' qq{ }为字符串添加双引号qq{abc ...
- (转)libhybris及EGL Platform-在Glibc生态中重用Android的驱动
原文地址:http://blog.csdn.net/jinzhuojun/article/details/41412587 libhybris主要作用是为了解决libc库的兼容问题,目的是为了在基于G ...
- 大数据:Spark Core(二)Driver上的Task的生成、分配、调度
1. 什么是Task? 在前面的章节里描写叙述过几个角色,Driver(Client),Master,Worker(Executor),Driver会提交Application到Master进行Wor ...
- WAS启动报错Service failed to start. startServer return code = -1
http://www-01.ibm.com/support/docview.wss?uid=swg21368020 Problem(Abstract) Attempts to start IBM We ...
- 理解Node.js异步非阻塞I/O与传统线性阻塞IO的区别(转)
阻塞I/O 程序执行过程中必然要进行很多I/O操作,读写文件.输入输出.请求响应等等.I/O操作时最费时的,至少相对于代码来说,在传统的编程模式中,举个例子,你要读一个文件,整个线程都暂停下来,等待文 ...
- libstdc++.so.5: undefined reference to `memcpy@GLIBC_2.14'
没有别的原因: 找正确的 libstdc++.so.5 包就成. 我这儿有,需要的可以下载奥!
- ubuntu12.04 折腾流水
今天突然间update 一些软件后,就遇到了无法启动桌面,就是输入正确的用户名和密码后还是无法进入系统. 重启后,一直停留在waiting for network configuration, 然后显 ...
- symfony分页实现方法
1.symfony分页是要用到组件的,所以这里使用KnpPaginatorBundle实现翻页 2. 用composer下载 在命令行中: composer require "knplab ...
- 8 -- 深入使用Spring -- 4...5 AOP代理:基于注解的“零配置”方式
8.4.5 基于注解的“零配置”方式 AspectJ允许使用注解定义切面.切入点和增强处理,而Spring框架则可识别并根据这些注解来生成AOP代理.Spring只是使用了和AspectJ 5 一样的 ...
- vim分屏
使用vim分屏的时候 ,可以在终端直接输入 vim -On 1.php 2.php 3.php 垂直分屏 三个文件 如果是在某个窗口里面想打开另外一个文件如何做呢? 按下esc,然后按下冒号 输入 回 ...