can someone spot problem with simplebootstrap_cpp.cxx

nicholas ferguson nicholasferguson at wingarch.com
Mon Sep 22 12:54:21 PDT 2014


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/febba9f9/attachment.html>


More information about the LibreOffice mailing list