摘要 |
An application program is run in a process supported by an operating system in a computer system. Loading a library for the application program comprises the following steps: a. determining whether it is the first library load instruction in the application program (502); b. if it is the first library load instruction; b1. loading the library in a first memory area, and defining a handle for the library, and a memory identifier to the first memory area (504, 506); and b2. storing the handle and the memory identifier, for use in executing functions contained in the library (508, 516); c. if the library load instruction is a further library load instruction; c1. loading the further library in a further memory area, also associated to said memory identifier, and defining a further handle to the further library (510); c2. storing the further handle, for use together with the already stored link map identifier in executing functions contained in the further library (516).
|