首页 | 互联网 | IT动态 | Cisco | Windows | Linux | Java | .Net | Oracle | 华为 | 存储世界 | 服务器 | 网络设备 | IDC | 安全 | 求职招聘
IT培训 | 数字网校 | 技术专题 | 电子书下载 | 教学视频 | 网页设计 | 平面设计 | 解决方案 | 直播室 | 虚拟考场 | 搜索 | 博客 | 沙龙 | 论坛
中国IT实验室Dotnet频道
中国IT教育
首页 ASP.NET  C#  XML/WebService ADO.NET VC.NET VB.NET .NET 资讯动态 专题 RSS订阅 讨论 下载
您现在的位置: 中国IT实验室 >> Dotnet >> VC.NET >> 文章正文

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

文章来源中国IT实验室收集整理 作者佚名 更新时间2008-5-11 保存本文保存本文 推荐给好友推荐给好友 收藏本页收藏本页

    在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

 

【责编:Ken】

中国IT教育

相关产品和培训
文章评论
 友情推荐链接
 认证培训
 专题推荐

 ·关于Java框架技术专题
 ·XML全攻略技术专题
 ·JAVA开源技术介绍专题
 ·Java嵌入式开发之J2ME技术专题
 ·超前体验 Oracle 11g的5个新特性
 ·揭密使用VB.NET的五个实用技巧
 ·Oracle和SQL Server常用函数对比专题
 ·展现C#世界 C#程序设计专题
 ·Java入门 Tomcat的配置技巧精华专题
 ·Oracle RMAN物理备份技术详解
 今日更新
 社区讨论
 博客论点
 频道精选
 Dotnet频道相关导航