Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


 

I tracked down this problem further.  In processing

C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb

 

In cppuhelper::ServiceManager::readRdbFile()

 

                Try{

                                Parser(..,&data)   BUT data is null

   So this code falls through to

            readLegacyRdbFile

 

And that function doesn't handle services.rdb

 

So question:  what haven't I done? 

Is there a function to call that will set the variable 'data' to a good
value.

'data' appears to be a complicated structure.

                                                

 

From: nicholas ferguson [mailto:nicholasferguson@wingarch.com] 
Sent: Monday, September 22, 2014 4:18 PM
To: 'libreoffice'
Subject: RE: #2 can someone spot problem with simplebootstrap_cpp.cxx

 

I tried the following:

I uninstalled LibreOffice in c:\Program Files (x86)

Then added this code to SimpleBootstrap_cpp.cxx

putenv("UNO_PATH=c:/cygwin64/home/lo/master/instdir");

 

But same error msg as below:

"cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb"

 

 

From: nicholas ferguson [mailto:nicholasferguson@wingarch.com] 
Sent: Monday, September 22, 2014 3:54 PM
To: 'libreoffice'
Subject: can someone spot problem with simplebootstrap_cpp.cxx

 

In odk sample file, SimpleBootstrap_cpp.cxx

Reference< XComponentContext > xContext( ::cppu::bootstrap() ); CALLS

                Reference< XComponentContext > SAL_CALL bootstrap() AND AT
CODE

                                char const * p1 =
cppuhelper_detail_findSofficePath();  RETURNED VALUE IS 

                                                                "C:\Program
Files (x86)\LibreOffice 4\program"

 

 THEN

         // create default local component context

        Reference< XComponentContext > xLocalContext(

            defaultBootstrap_InitialComponentContext() ); CALLS

 
css::uno::Reference< css::uno::XComponentContext >

 
cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri)
AND AT CODE

 
smgr->init(getBootstrapVariable(bs, "UNO_SERVICES")); RETURN VALUE IS AN
EXCEPTION 

 
"cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" 

 


 


1.       this file does exist:
C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb

 

Question:  Can someone tell me what needs to be corrected?  Do I add an env
variable?  

 

From: nicholas ferguson [mailto:nicholasferguson@wingarch.com] 
Sent: Monday, September 22, 2014 8:51 AM
To: 'libreoffice'
Subject: Simple Visual Studio Project (console application) with example of
opening/closing scalc doc and printing out formulas in a worksheet, to
stdout?

 

Hi

Can anyone send me that kind of example? 

I have libreoffice built in debug mode (--enable-dbgutil), on a windows
platform.

 

You copy paste it.  If you email it. zip or tar has to be renamed to *.txt
Otherwise Norton eats it.

 

 

 

 

 


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.