#2 can someone spot problem with simplebootstrap_cpp.cxx

nicholas ferguson nicholasferguson at wingarch.com
Mon Sep 22 13:17:49 PDT 2014


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 at 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 at 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.

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140922/9c4e8de4/attachment.html>


More information about the LibreOffice mailing list