网管联盟 | 网管论坛 | 网管u家 | 网管博客 | 网管软件 | 网管求职 | 小游戏 | 网管搜索 | 网管原创 | 网管聚合 | 网管读摘 | 网管焦点 | 世界素材 | 会员投稿 | 会员中心 
中国网管联盟
Windows Linux Cisco 网络技术 数据库 黑客攻防 DotNet Java PHP 认证 新闻资讯 服务器 存储资讯 网络设备 网管学堂 技术专题 焦点 网吧频道
 当前位置: > bitsCN.com > DotNet > VC.NET > vc.net中配置OpenOffice的SDK应用开发  

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

2008-05-11  作者:bitsCN整理  来源:中国网管联盟  点评 投稿 收藏

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

网管联盟bitsCN@com

    需求软件: 网管u家u.bitscn@com

    MS Visual C++ Net 2003
    OpenOffice SDK 网管u家u.bitscn@com

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

网管网www_bitscn_com

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

中国网管论坛bbs.bitsCN.com

    OpenOffice.org 2.1.x下载地址: http://download.openoffice.org/index.html 中国网管联盟bitsCN.com

    配置操作:

网管下载dl.bitscn.com

    1.安装 OpenOffice. 网管联盟bitsCN@com

    2.安装l OpenOffice SDK

中国网管联盟bitsCN.com

    3.在OpenOffice SDK的安装目录下(<oo_sdk_path>)创建一个名称为inludecpp目录 网管论坛bbs_bitsCN_com

    4.打开命令行程序(CMD)进入 <oo_sdk_path>\\windows\\bin目录,然后执行如下命令:

网管联盟bitsCN@com

    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

网管u家u.bitsCN.com

    5.3. Tools ->Options->Projects->VC++ Directories -> Executable files Add <office_programm_dir>\\program directory (location where you installed the version of the OpenOffice)

网管网www.bitscn.com

    5.4 Open the Project Settings

网管网www.bitscn.com

    5.4.1 Change Configuration to all All Configurations (the combobox in the left corner of the window)

网管网www_bitscn_com

    5.4.2 Add the additional libraries 网管u家u.bitsCN.com

    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

网管联盟bitsCN@com

 

网管u家u.bitscn@com


TAGs   配置       the   <   OpenOffice   ->   oo_sdk_path>      
 上一篇:VC.NET制作Windows游戏窗口   下一篇:Visual C++开发工具与调试技巧整理(2)
vc.net中配置OpenOffice的SDK应用开发 评论:
loading.. 评论加载中…
评论:请自觉遵守互联网相关政策法规,评论不得超过250字。

验证码: 注册用户
本类热门排行:
最新推荐文章:
网管论坛交流: