CitectVBA Programming Reference > Understanding CitectVBA Language Basics > DLLs and APIs > Declare - Lib Statement

Declare - Lib Statement

The Lib statement specifies which DLL contains the function you wish to use. The Lib statement consists of the Lib keyword, followed by the name of the DLL contained within string double quotes. Some commonly used DLLs in the Windows API for example, are Kernel32.dll - which performs low level OS functions like memory management and resource handling, the User32.dll - which performs Windows message handling, timers, menus and communication functions, and the GDI32.dll - which performs the graphics display and font management functions.