Overview | Namespace | Class | Index | Help |
Global Functions in Namespace cppu
in Sourcefile shlib.hxx
- loadSharedLibComponentFactory
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > loadSharedLibComponentFactory(
const ::rtl::OUString & rLibName, const ::rtl::OUString & rPath, const ::rtl::OUString & rImplName, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & xMgr, const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & xKey ) throw( ::com::sun::star::loader::CannotActivateFactoryException );
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Description
- Loads a shared library component and gets the factory out of it. You can give either a fully qualified libname or single lib name. The libname need not be pre/postfixed (e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific directory. The resulting path of the library will be checked against environment variable CPLD_ACCESSPATH if set.
- Parameters
rLibName name of the library
rPath optional path
rImplName implementation to be retrieved from the library
xMgr service manager to be provided to the component
xKey registry key to be provided to the component
- Return
- factory instance (::com::sun::star::lang::XSingleComponentFactory or ::com::sun::star::lang::XSingleComponentFactory)
- writeSharedLibComponentInfo
- void writeSharedLibComponentInfo(
const ::rtl::OUString & rLibName, const ::rtl::OUString & rPath, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & xMgr, const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & xKey ) throw( ::com::sun::star::registry::CannotRegisterImplementationException );
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- D E P R E C A T E D
- Description
- Invokes component_writeInfo() function of specified component library. You can give either a fully qualified libname or single lib name. The libname need not be pre/postfixed (e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific directory. The resulting path of the library will be checked against environment variable CPLD_ACCESSPATH if set. component_writeInfo should no longer be used in new components
- Parameters
rLibName name of the library
rPath optional path
xMgr service manager to be provided to the component
xKey registry key to be provided to the component
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.