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 ...
随机推荐
- form中的button按钮在IE11中自动提交表单问题导致弹出框关闭之后表单被重置
最近几天,测试系统,遇到一个兼容性问题,form中有一个button按钮,没有指定type类型,点击按钮弹出框选择值之后回填给form上的一个单行文本框,在IE6.IE7.IE8.IE9.IE10中测 ...
- bioperl 自动化下载genbank 中的序列
当我们想要从genbank 中下载序列的时候,总需要点击右上角的download 按钮,选择对应的格式,然后通过浏览器进行下载,这样反复的点击很费时间了 其实可以通过bioperl 自动化的完成下载: ...
- Windows版Jenkins+SVN+Maven自动化部署环境搭建【转】
前言 因今年公司新产品线较多,为了降低耦合,达到业务分离.重用,提高内部开发效率的目的,采用了基于服务组件.前后端分离的架构体系.与之前传统单应用架构相比,系统部署.配置更加复杂,为了能够频繁地将软件 ...
- UIStatusBarStyle PreferredStatusBarStyle does not work on iOS 7
Q: In my iPhone application built with Xcode 5 for iOS 7 I set UIViewControllerBasedStatusBarAppeara ...
- Java无参构造方法
一定要保留无参构造方法.---------->反射是最重要的操作原理,大量地应用了反射处理机制. 如Struts.Spring框架等.
- CodeFirst时使用T4模板
我们都知道T4模板用于生成相似代码. 在DBFirst和ModelFirst条件下我们很容易从.edmx下获取所有实体类和其名称,并且通过我们定义的模板和某些遍历工作为我们生成所需要的相似代码. 但是 ...
- ARC介绍
从Ray Wenderlich的教程中截取了一小段作为对objective c中ARC的介绍,讲得比较清晰,原文有丰富的例子,见此 它是怎么工作的 你大概已经熟悉如何手工管理内存了, 就像这样:如果你 ...
- 杨涛老师MvcPager示例
杨涛老师插件地址:http://www.webdiyer.com/mvcpager 杨涛老师网站上示例写的很详细了,参考他的示例和帮助文档就可以运用的很好了,有经验的同学可以直接参考官方示例. 一.标 ...
- Two FIFOs of length 253 with 8-bits
FIFO 先入先出队列(First Input First Output,FIFO) 可以实现数据缓存. 一.FIFO的一些重要参数: 1.length:未知,待查 //补充:学长说:“FIFO一般只 ...
- QT 实现QGraphicsProxyWidget对象可选择或移动(item管理实现)
上篇博文<QT QGraphicsProxyWidget对象可选择或移动的一些tricks>介绍了实现QT QGraphicsProxyWidget对象可选择或移动的一些小的第三方技巧,但 ...