当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > vc.net中配置OpenOffice的SDK应用开发

ASP.NET
.net基础知识错误注意二十二点知识
用.NET动态创建类的实例讲解
微软发布.NET Framework 3.5 SP1正式版
asp.net教程:HTTP状态码200,301,302
.NET 2.0中Hashtable快速查找的方法
在ASP.Net Ajax中调用WebService
asp.net 和 access 联合开发的分页类
ASP.NET 全局异常处理
用SQL语句完成SQL Server数据库的修复
.net 框架程序设计
ASP.NET结合XML编写计数器
ASP.NET水晶报表实现打印功能
Asp.Net中设计与使用水晶报表
防止ASP.NET按钮多次提交的办法
.NET开发事件处理的步骤
ASP.NET刷新页面的六种方法
Asp.net ajax实现任务提示页面
ASP.NET 2.0中XML数据的处理
ASP.NET中XML数据的处理
Jadu: 将 PHP 编译成 .NET

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-08-14   浏览: 96 ::
收藏到网摘: n/a

在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