您现在所在的是:

嵌入式系统

回帖:1个,阅读:1102 [上一页] [1] [下一页]
1137
xingsharp
文章数:119
年度积分:48
历史总积分:1137
注册时间:2005/3/2
发站内信
08年优秀博客奖
发表于:2009/5/11 10:04:50
#0楼

注:完全原创,转载请注明出处。(qzm)

制作cvi的分发包很easy,只要执行如下图所示的build hzjbackground即可。
图
但当制作安装了 sql toolkit 组件的程序时还要多做点工作,具体的内容如下:
distributing an sql toolkit executable or dll
the following files must be distributed with an executable or dll that uses sql toolkit functions.
you must use the cvisqlshared.msm merge module to install support for the labwindows/cvi sql toolkit. the cvisqlshared.msm merge module is located in the program files\common files\merge modules directory.
include the sqldistsupp.exe and sqldistsupp.dsn files when you create a labwindows/cvi distribution in order to install required database components. set sqldistsupp.exe as the program to run after installation in the distribution kit.
the sqldistsupp.exe program, located in the [cvidir]\redist directory, creates a system data source name using sqldistsupp.dsn. the sample sqldistsupp.dsn file creates a data source called cvi sql samples, which works with the microsoft access odbc driver. you can use [windowsdirectory], [windowssystemdirectory], [cvisqlinstalldirectory], and [appinstalldirectory] to force sqldistsupp.exe to update paths to the proper values at run time.
note  [cvisqlinstalldirectory] is actually the directory containing sqldistsupp.exe and is equivalent to [appinstalldirectory].
实战如下:
(1)在分布程序中加入cvisqlshared.msm
图
2) 把sqldistsupp.exe 和sqldistsupp.dsn文件入发布程序。
----------------------------------------------
此篇文章从博客转发
原文地址: Http://blog.gkong.com/more.asp?id=87309&Name=zjcsharp
1137
xingsharp
文章数:119
年度积分:48
历史总积分:1137
注册时间:2005/3/2
发站内信
08年优秀博客奖
发表于:2009/5/11 10:54:15
#1楼
在这里看到的内容不全,最后的更新版请按:
Http://blog.gkong.com/more.asp?id=87309&Name=zjcsharp

关于我们 | 联系我们 | 广告服务 | 本站动态 | 友情链接 | 法律声明 | 非法和不良信息举报

工控网客服热线:0755-86369299
版权所有 工控网 Copyright©2024 Gkong.com, All Rights Reserved

31.2002