Method for dynamic linking function library sharing static linking function library with primary application

A static link and dynamic link technology, applied in the direction of program control devices, etc., can solve the problems of reducing user flexibility requirements, lack of dynamic loading, etc., and achieve the effect of reducing complexity and memory requirements

Inactive Publication Date: 2008-02-27
SUNPLUS TECH CO LTD
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As shown in Figure 3, since there is only one copy of the statically linked core function library (core. Elastic...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for dynamic linking function library sharing static linking function library with primary application
  • Method for dynamic linking function library sharing static linking function library with primary application
  • Method for dynamic linking function library sharing static linking function library with primary application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In the method that the dynamic link function library of the present invention shares the static link function library with the main application program, such as requiring an application program Design_Form.exe and two dynamic link function libraries (Widget.DLL#1, Widget.DLL#2) Speaking, the technology of the present invention is to load a core function library Core.lib by Design_Form.exe, and other Widget.dll all can share the same Core.lib through the mode of function pointer variable and global variable pointer variable, and reduces memory consumption usage, and achieve the purpose of dynamic linking.

[0022] In the method for sharing the static link function library between the dynamic link function library and the main application program of the present invention, it mainly proposes a solution for an environment where the core software function library is statically linked. That is to say, both the bottom layer of the dynamic component and the main program that re...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A kind of method of the dynamic chain joint function library sharing the static chain joint function with the main application program and the main application program chains a static chain function library and then establish a function pointer variable and a variable pointer variable of the static chain function library by the dynamic chain joint function library; and then transfer the function section calling from the static chain function library in the dynamic chain joint function library program code into the function pointer variable; then transfer the variable section calling from the static chain function library in the dynamic chain joint function library program code into the variable pointer variable; at last compile the main application program and the dynamic chain joint program code to the function library individually among them the related function of dynamic chain joint function library and the variable has been replaced by the way of pointer and then load the dynamic chain joint function library in the main application program at the same time deliver the storage location of function and variable to the dynamic chain joint function library which makes the function and variable section called to the static chain joint function library form the dynamic chain joint function library could share the static chain joint function library connected by the main application program.

Description

technical field [0001] The invention relates to a link technology of software components, in particular to a method for a dynamic link function library and a main application program to share a static link library. Background technique [0002] When designing mobile phone development tools, in order to achieve the effect of what you see is what you get, usually software tool designers will additionally design supportive dynamic components for the development tool environment. However, how to enable application software designers to share the same program code in the design phase and execution phase, and integrate dynamic components into the development environment through standardized interfaces will be an important issue to support dynamic software component designers. [0003] Among the known dynamic software component technologies, the OLE / COM design of Microsoft is the most common. OLE / COM technology deploys every OLE / COM component through the file format of PE32. Sinc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 周宏霖朱盈州
Owner SUNPLUS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products