点击这里给我发消息 点击这里给我发消息

vc.net中配置OpenOffice的SDK应用开发

添加时间:2012-1-17
    相关阅读: 软件 开发 程序 C++ VC

核心提示:在vc.net 2003下利用OpenOffice的SDK开发应用程序,其实很简单,看下面的配置方法..

在vc.net 2003下利用OpenOffice的SDK开发应用程序,其实很简单,看下面的配置方法。

需求软件:

MS Visual C++ Net 2003
OpenOffice SDK

OpenOffice.org 2.1.x 或者更高版本
软件下载地址:

OpenOffice SDK 下载地址:http://download.openoffice.org/index.html

OpenOffice.org 2.1.x下载地址: http://download.openoffice.org/index.html

配置操作:

1.安装 OpenOffice.

2.安装l OpenOffice 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

咨询热线:020-85648757 85648755 85648616 0755-27912581 客服:020-85648756 0755-27912581 业务传真:020-32579052
广州市网景网络科技有限公司 Copyright◎2003-2008 Veelink.com. All Rights Reserved.
广州商务地址:广东省广州市黄埔大道中203号(海景园区)海景花园C栋501室
= 深圳商务地址:深圳市宝源路华丰宝源大厦606
研发中心:广东广州市天河软件园海景园区 粤ICP备05103322号 工商注册