<html> <head> <title>Global Functions in Namespace cppu in Sourcefile shlib.hxx</title> <link rel="stylesheet" type="text/css" href="../../cpp.css"> </head> <body> <div id="adc-cppref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0"> <tr align="center" valign="top"> <td class="navimain"> <a href="../../index.html">Overview</a> </td> <td class="navimain"> <a href="index.html">Namespace</a> </td> <td class="navimainnone"> Class </td> <td class="navimain"> <a href="../../index-files/index-1.html">Index</a> </td> <td class="navimain"> <a href="../../help.html">Help</a> </td> </tr> </table> <table class="navisub" cellpadding="0" cellspacing="3"></table> <hr> <div class="title"><h2>Global Functions in Namespace cppu<br> in Sourcefile shlib.hxx</h2> </div><hr> <dl class="member"> <dt class="member"><a name="loadSharedLibComponentFactory-4207"> </a>loadSharedLibComponentFactory</dt> <dd class="member"><dl> <dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::uno::XInterface > <strong>loadSharedLibComponentFactory</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> & </td> <td> rLibName,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rPath,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rImplName,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XMultiServiceFactory > &</td> <td>xMgr,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::registry::XRegistryKey > &</td> <td>xKey )</td> </tr> <tr> <td/><td> throw( ::com::sun::star::loader::<a href="../../../../common/ref/com/sun/star/loader/CannotActivateFactoryException.html">CannotActivateFactoryException</a> );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Description</dt> <dd>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. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rLibName</td> <td><pre>name of the library </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rPath</td> <td><pre>optional path </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rImplName</td> <td><pre>implementation to be retrieved from the library </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td> <td><pre>service manager to be provided to the component </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">xKey</td> <td><pre>registry key to be provided to the component </pre></td> </tr> </table> </dd> <dt>Return</dt> <dd> factory instance (::com::sun::star::lang::XSingleComponentFactory or ::com::sun::star::lang::XSingleComponentFactory) </dd> </dl> </dd> </dl> <hr> <dl class="member"> <dt class="member"><a name="writeSharedLibComponentInfo-4208"> </a>writeSharedLibComponentInfo</dt> <dd class="member"><dl> <dt class="simple">void <strong>writeSharedLibComponentInfo</strong>(</dt> <dd><table class="param-table"> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> & </td> <td> rLibName,</td> </tr> <tr> <td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &</td> <td>rPath,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::lang::XMultiServiceFactory > &</td> <td>xMgr,</td> </tr> <tr> <td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>< ::com::sun::star::registry::XRegistryKey > &</td> <td>xKey )</td> </tr> <tr> <td/><td> throw( ::com::sun::star::registry::<a href="../../../../common/ref/com/sun/star/registry/CannotRegisterImplementationException.html">CannotRegisterImplementationException</a> );</td> </tr> </table> </dd> </dl> <br> </dd> <dd class="member"><table class="flag-table" border="1" cellspacing="0"> <tr> <td width="12%" class="flagname">virtual</td> <td width="12%" class="flagname">abstract</td> <td width="12%" class="flagname">const</td> <td width="12%" class="flagname">volatile</td> <td width="12%" class="flagname">template</td> <td width="12%" class="flagname">static</td> <td width="12%" class="flagname">inline</td> <td width="12%" class="flagname">C-linkage</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <br> </dd> <dd class="member"><dl> <dt>Description</dt> <dd>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. </dd> <dt>Parameters</dt> <dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table"> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rLibName</td> <td><pre>name of the library </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">rPath</td> <td><pre>optional path </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td> <td><pre>service manager to be provided to the component </pre></td> </tr> <tr> <td width="15%" style="vertical-align:top; font-weight:bold">xKey</td> <td><pre>registry key to be provided to the component </pre></td> </tr> </table> </dd> </dl> </dd> </dl> <hr> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-cppref" --> </body> </html>