Dynamic connection library

xiaoxiao2021-03-06  77

Dynamic Connection Library Introduction The vertex DLL is a procedure library located external to the application that can be called from the application. It is connected at runtime but does not bind to the exe file. The DLL is a shared and re-entry, its code executes the speed VisualBasic is fast than the code. The Windows operating system offers a rich process set in the DLL, which can extend the function of VisualBasic by calling these procedures. You can also call a third party or your own DLL library. Most of the DLLs are written in C language and have many things worth noting when using VisualBasic calls. System Dynamic Library Vertex System DLL refers to the three DLL libraries provided by the Windows operating system, which is different from different versions of Windows. 16-bit Windows is available from Windows3.x and Windows95, WindowsNT's 16-bit, and the Kernel32-bit Windows is available by Windows95, WindowsNT provides library name: user32, gdi32, kernel32 declaration, calling DLL process vertex DLL process must declare In standard modules, it defaults to public processes. Declaration: Format: Declare Sub Pro Pro Pro Pro Pro Pro Pro Pro Pro process name lib "library name" [alias "alias"] [(parameter table)] Declare function function name lib "library name" [alias "alias"] [(parameter table)] AS type Description: Process Name, Function Name: Yes you define the name to reference the library name in the program: For the system DLL is three system library names. "User32", "GDI32", "Kernel32" for third-party DLLs. Such as: "c: /.../ mydll.dll" alias: When your defined process name and function name are different from the process name function name provided in the DLL library, the alignment must be defined as the process provided in the DLL library. Name function name. Call: Like the VisualBasic process. Using the API Text Viewer Tolever VisualBasic 5.0 / 6.0 provides a gadget to make us conveniently declare the system DLL process in the program. Note When VB calls DLL: Data Top Vertical Vertical DLL is written in C language, which is different from VB on the data type.

转载请注明原文地址:https://www.9cbs.com/read-94150.html

New Post(0)