Hi all, this is my first post on this list (I actually have been redirected to this list after having
posted to a more general one). I would like to use OpenOffice to create .doc documents
programmatically by invoking UNO API from a C++ application. My dev environment is Win2K, MSVC6.0 and QT. Although I’m
developing on Win I would like to keep my code portable, that’s why I’m
using QT for the GUI and why I would like to use OpenOffice to create my
documents programmatically (rather than controlling MS Word via OLE automation,
as I have already done in the past). I have to admit I thought
it could have been an easier task. However I have
spent a couple of days compiling UNO IDL and finally succeeded in coding a test
C++ application, compiling and linking it with MSVC 6.0. My problem is that I get a crash the very first
invocation of a UNO API class method. I checked and the code seems to be ok,
maybe I need to set some compiler option? Does anyone here have some experience
in crating documents programmatically within a MSVC application ? Are there some ready-made MSVC demo projects
ready to be compiled and run ? Thanks in advance. Antonio Leonforte INTEGRA Sistemi |