Difference between revisions of "Documentation/DevGuide/WritingUNO/C++/Multiple Components in One Dynamic Link Library"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Writing UNO Components)
m
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/WritingUNO/C++/Building and Testing C++ Components
 
|NextPage=Documentation/DevGuide/WritingUNO/C++/Building and Testing C++ Components
 
}}
 
}}
 +
[[zh:Zh/Documentation/DevGuide/WritingUNO/C++/Multiple Components in One Dynamic Link Library]]
 
{{DISPLAYTITLE:Multiple Components in One Dynamic Link Library}}
 
{{DISPLAYTITLE:Multiple Components in One Dynamic Link Library}}
 
The construction of C++ components allows putting as many service implementations into a component file as desired. Ensure that the component operations are implemented in such a way that <code>component_writeInfo()</code> and <code>component_getFactory()</code> handle all services correctly. Refer to the sample component <code>simple_component</code> to see an example on how to implement two services in one link library.
 
The construction of C++ components allows putting as many service implementations into a component file as desired. Ensure that the component operations are implemented in such a way that <code>component_writeInfo()</code> and <code>component_getFactory()</code> handle all services correctly. Refer to the sample component <code>simple_component</code> to see an example on how to implement two services in one link library.

Revision as of 09:02, 30 July 2008

The construction of C++ components allows putting as many service implementations into a component file as desired. Ensure that the component operations are implemented in such a way that component_writeInfo() and component_getFactory() handle all services correctly. Refer to the sample component simple_component to see an example on how to implement two services in one link library.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages