I am successfully starting Office, but when we try to resolve the connect string we get an exception. Looking at the error message the result returned is that the bridgefac.uno.dll could not be loaded. Looking a little deeper it looks like this DLL is not included in the installation (we are testing agains 3.4.5). The DLL was present in previous versions of OpenOffice though.
I've included the a brief snippet below, the last resolver->resolve call fails. Is the DLL supposed to be there?
- Code: Select all Expand viewCollapse view
Reference< XInterface > xInterface = m_xMultiComponentFactoryClient->createInstanceWithContext(
OUString::createFromAscii( "com.sun.star.bridge.UnoUrlResolver" ),
m_xComponentContext );
Reference< XUnoUrlResolver > resolver( xInterface, UNO_QUERY );
BOOL bConnectionMade = FALSE;
BOOL bExceptionThrown = FALSE;
try
{
// Resolves the component context from the office, on the uno URL provided by sConnectionString
CLog::Log(LOG_TRACE, 4, _T(""), _T("Tyring to make connection to OpenOffice using (%s)"), sConnectionString.getStr());
xInterface = Reference< XInterface >( resolver->resolve( sConnectionString ), UNO_QUERY );
xInterface = Reference< XInterface >( resolver->resolve( sConnectionString ), UNO_QUERY );
...