Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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. Elasticity requirements in system design
Therefore, the known file system still has many deficiencies and needs to be improved.

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 present invention relates to a linking technology for software components, and in particular to a method for sharing a static link library between a dynamic link function library and a main application program. Background technique [0002] When designing mobile development tools, in order to achieve WYSIWYG effects, software tool designers usually design additional dynamic components to support the development tool environment. However, how to enable application software designers to share the same program code during the design phase and execution phase and integrate dynamic components into the development environment through standardized interfaces will be an important issue to support designers of dynamic software components. [0003] Among the known dynamic software component technologies, Microsoft's OLE / COM design is the most common. OLE / COM technology deploys each OLE / COM component through the PE32 file format. Since the role of OLE / COM c...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products