Hi all,
I'm a beginner of OOO-prgramming. My main-target is to open/create/change new dokuments in swriter.
After one week with google (with many frustrations) I'm ready to compile simple samples.
Very importend help I found here: "http://www.codeproject.com/KB/wtl/Wtl_OOo.aspx"
But at this point my pain starts. If I'm run my app it crashes. In debug I get following
message: Unhandled exception at 0x7c812afb in test_1.exe: 0xC06D007E: Module not found.
This error comes from first call of:
Reference< XMultiServiceFactory > ooConnect(){
// create the initial component context
Reference< XComponentContext > rComponentContext =
defaultBootstrap_InitialComponentContext();
This is from sample from this site: "http://wiki.services.openoffice.org/wik ... xecutable)"
It's a simple win32 app. It seems to me I'm get no connection to OO.
Any help in universe?`
PS: WinXP SP3; VS2008Pro, OpenOffice.org 3.1.0 (OO310m11(Build:9399)), SDK 3.1
PPS: I'm reading following links(and more), but found nothing to solve my problem.
"http://wiki.services.openoffice.org/wik ... he_OOo_SDK"
"http://wiki.services.openoffice.org/wik ... OOoImpress"
"http://www.oooforum.org/forum/viewtopic.phtml?t=11128"
"http://wiki.services.openoffice.org/wik ... xecutable)"
"http://csourcesearch.net/cpp/fid443BAFC ... def:parser"
Connect OOo
Connect OOo
WinXP SP3, OpenOffice 3.1.0 (OO310m11(Build:9399)), SDK 3.1, VS2008Pro
Re: connect ooo
Can't help with your question above, but have you seen the ODF Toolkit Project? That might be of interest.
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
Gurkha Welfare Trust
Re: Connect OOo
Thank you for link. But I need some solutions for c++. I believe it is trouble with Bootstrapping - I read a lot of threads.
If I find some I will post here.
If I find some I will post here.
WinXP SP3, OpenOffice 3.1.0 (OO310m11(Build:9399)), SDK 3.1, VS2008Pro
Re: Connect OOo
Hi Andrew,
in my article or set the correct path in your VS2008 project->properties->debug tab.
cheers,
AR
It is very likely that you did not set the application path to the OOo dlls. SeeAndrewB wrote:If I'm run my app it crashes. In debug I get following
message: Unhandled exception at 0x7c812afb in test_1.exe: 0xC06D007E: Module not found.
This error comes from first call of:
Reference< XMultiServiceFactory > ooConnect(){
// create the initial component context
Reference< XComponentContext > rComponentContext =
defaultBootstrap_InitialComponentContext();
Code: Select all
OOo::FindInstallAndSetPath() cheers,
AR