Plug and play method of member, application and system thereof
A plug-and-play, component technology, applied in program control devices and other directions, can solve problems such as inadvisability, unimaginable workload and difficulty, and inconsistency with software engineering development ideas, and achieve the effect of resolving resource conflicts and resolving ID conflicts.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0028] Example 1
[0029] In this embodiment, the platform is a Windows application (EXE), the components are regular DLLs or extended DLLs, and the component resources are menus and dialog boxes respectively. XTP (XTREMETOOLKIT PRO v12.1.1) is an interface management suite. The basic idea is to treat each menu and toolbar button as a control (Control), and all its properties and operations are encapsulated as CXTPControl class, CXTPControl is for each menu. Define a set of properties, these properties record the ID value of the menu, and add the "component name" property on this basis. The plug-and-play method for automatically resolving Windows resource conflicts provided by the present invention realizes complete dynamic loading of regular DLLs; dynamic loading of menu resources and menu command routing methods; and automatic conflict resolution methods for dialog resources. The detailed process of this embodiment is:
[0030] like image 3 In the class structure diagram o...
Example Embodiment
[0045] Example 2
[0046] In this embodiment, the platform is a Windows application (EXE), and the component is a COM component. The method and process used in this embodiment are basically the same as those in Embodiment 1, and there are differences in the following two specific steps, and other steps are the same as or similar to those in Embodiment 1.
[0047] File configuration:
[0048] Prepare a configuration file to record the name of the COM component to be loaded and the COM object interface and its GUID (for example, the interface name is IJoint, and its GUID is 25AB3BA1-58D0-40b9-ADD1-C604DA47FD27). Although different COM components have the same interface name (for example, IJoint), the GUID of the interface's implementation object class is different. Therefore, the platform can accurately distinguish these interfaces.
[0049] Component loading, which dynamically loads COM components:
[0050] CMainFrame reads the configuration file to obtain the COM component ...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap