欢迎您访问我爱IT技术网,今天小编为你分享的编程技术是:【vc.net中配置OpenOffice的SDK应用开发】,下面是详细的分享!
vc.net中配置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
以上所分享的是关于vc.net中配置OpenOffice的SDK应用开发,下面是编辑为你推荐的有价值的用户互动:
相关问题:如何使用SDK开发站点
答:SDK目录结构 如果您是通过网盘下载SDK的zip包,需要自行安装JRE并且解压。SDK的基本目录结构: bin目录:管理工具启动脚本程序。Windows操作系统,启动NewStartServer.bat或者StartServer.bat。非Windows操作系统,启动startServer.sh。特别提醒... >>详细
相关问题:error C2061 C2059怎么解决?利用SDK开发,都配置...
答:你这错误在哪呢? >>详细
相关问题:如何配置DirectX开发环境
答:一个DirectX程序要想正确的编译和链接,需要下面三个主要前提 安装DirectX SDK 正确配置.h文件路径和.lib文件路径 正确链接所需.lib文件 http://www.cnblogs.com/graphics/archive/2009/11/04/1595727.html 详细可以参考这个,有图解教程,希望... >>详细
- 评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
-
