建立openoffice SDK c++开发环境

安装open office

 安装open office SDK

3.在OpenOffice SDK的安装目录下(<oo_sdk_path>)创建一个名称为inludecpp目录 4.打开命令行程序(CMD)进入 <oo_sdk_path>/windows/bin目录,然后执行如下命令: cppumaker -BUCR -O <oo_sdk_path>/includecpp <office_programm_dir>/types.rdb 5 配置VC++.net: 5.1. Tools ->Options->Projects->VC++ Directories -> Include Files Add /include directory and <oo_sdk_path>/includecpp 5.2. Tools ->Options->Projects->VC++ Directories -> Library files Add <oo_sdk_path>/windows/lib directory 5.3. Tools ->Options->Projects->VC++ Directories -> Executable files Add <office_programm_dir>/program directory (location where you installed the version of the OpenOffice) 5.4 Open the Project Settings 5.4.1 Change Configuration to all All Configurations (the combobox in the left corner of the window) 5.4.2 Add the additional libraries Properties->Linker->ComandLine in the Additional Options tab the library files isal.lib icppu.lib icppuhelper.lib isal.lib isalhelper.lib ireg.lib irmcxt.lib stlport_vc71.li  

你可能感兴趣的:(C++,OO,Office,include,library,tools)