Application program development method based on dynamic loading component
An application development and dynamic loading technology, applied in model-driven code, software deployment, software maintenance/management, etc., can solve problems such as inability to remove resources, troublesome calls, inability to run or maintain, and achieve development efficiency. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] A kind of application program development method based on dynamic loading component of the present invention, this application program development method comprises the following steps:
[0058] Step 1, create components;
[0059] Create at least one component, the component has multiple core parts, and the core part of the component is divided into 3 parts;
[0060] The first part, component configuration information file: stores component information→component type→library file path→component ID→component version→created command identifier executed after component loading→command array identifier received by the component and command array sent by the component;
[0061] The second part, component library file: dynamic library file→component logic is compiled into a dynamic library. This dynamic library only exports a component export function interface. After the component library file is loaded, this interface will be called to initialize the component;
[0062] The...
Embodiment 2
[0083] Embodiment 2: In order to illustrate the embodiment of the present invention more clearly, the present invention uses VisualStudio to establish a desktop application program project on the Windows platform.
[0084] Please refer to the attached figure 1 , Create a new platform project. After the platform is running, it first loads, initializes, disables, and uninstalls components such as component management. Another important thing is the control and forwarding of messages between components.
[0085] Please refer to the attached figure 2 , the component loading process, S10 first searches the component directory, reads the component configuration information file to store the component configuration information, id, version, path, send command, receive command, type; S11 finds the component package location, and then passes the component configuration path Find the logical dynamic library file of the component and load the dynamic library; after the component dynami...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com