Method for sharing static link code by software components in DLL and main program
AssigneeSunplus Technology Co., Ltd.
InventorsHung-Lin Chou, Ying-Chou Chu
Life of this patent
Estimating the term…
Loading patent…
AssigneeSunplus Technology Co., Ltd.
InventorsHung-Lin Chou, Ying-Chou Chu
Estimating the term…
A method for sharing static link codes by software components in a dynamic link library (DLL) and a main program. First, the main program links to a static link library (SLL) and creates function pointers and variable pointers in the DLLs corresponding to the SLL. Next, the functions of a DLL program code associated with calling the SLL are changed into corresponding function pointers. Next, the variables of the DLL program code associated with calling the SLL are changed into corresponding variable pointers. Finally, the main program and the DLLs are compiled into the respective program codes, wherein the functions and variables associated with a DLL are obtained via the pointers. When the DLL is loaded in the main program, the memory addresses of the functions and variables for calling and corresponding to the SLL are passed to the DLL to share the static link codes with the main program.
A method for sharing static link codes by software components in a dynamic link library (DLL) and a main program, which is implemented in a memory and applicable to an embedded system with the memory, the main program linking to at least one static link library and a program code, the method comprising the steps of:
A method for sharing static link codes by software components in a dynamic link library (DLL) and a main program, which is implemented in a memory and applicable to an embedded system with the memory, the software components of the dynamic link library linking to at least one static link library, the method comprising the steps of:
Dependencies are inferred from the claim text.