Original article address:Common types and definitions of Delphi
Frequently-used types and definitions of Delphi-Summary: sndplaysound mmsystem
| Type |
Unit |
| Date |
Sysutils |
| Deletefile |
Sysutils or Windows (different versions) |
| Dispatchinvokeerror |
Comobj |
| DWORD |
Windows |
| Edatabaseerror |
DB |
| Encodedatetime |
Dateutils |
| _ 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 |
| 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 |
| Poleshorttext |
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 |
| Tsung Image |
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 |
| Daysinamonth |
Dateutils |