| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 586 人关注过本帖
标题:学习global.asa的typelibrary声明遇到的问题
只看楼主 加入收藏
pen
Rank: 1
等 级:新手上路
帖 子:23
专家分:0
注 册:2006-4-5
收藏
 问题点数:0 回复次数:1 
学习global.asa的typelibrary声明遇到的问题

在学习global.asa是遇到一些看不懂的地方,希望知道的人给与解惑。

TypeLibrary Declarations
TypeLibrary 声明

A TypeLibrary is a container for the contents of a DLL file corresponding to a COM object. By including a call to the TypeLibrary in the Global.asa file, the constants of the COM object can be accessed, and errors can be better reported by the ASP code. If your Web application relies on COM objects that have declared data types in type libraries, you can declare the type libraries in Global.asa.
TypeLibrary是针对一DLL文件内容的容器,相当于COM对象。在Global.asa文件中通过调用来使得COM对象的常数能被使用,并且ASP代码的错误可以更好的得以反馈。如果你的WEB程序依赖于COM对象中已经被声明了的数据类型,你可以在Globa.asa中声明类库。

Syntax 语法

<!--METADATA TYPE="TypeLib"

file="filename"
uuid="typelibraryuuid"
version="versionnumber"
lcid="localeid"
-->

Parameter参数 Description 描述
file

Specifies an absolute path to a type library.Either the file parameter or the uuid parameter is required

uuid

Specifies a unique identifier for the type library. Either the file parameter or the uuid parameter is required

version

Optional. Used for selecting version. If the requested version is not found, then the most recent version is used

lcid

Optional. The locale identifier to be used for the type library

文中用红色表示的地方,我不是很明白。我在想是不是file这个参数可以指向一个包含有类的文件,这样我就声明了一个类库

[此贴子已经被作者于2006-4-14 15:32:14编辑过]

搜索更多相关主题的帖子: 声明 typelibrary global asa TypeLibrary 
2006-04-14 15:30
pen
Rank: 1
等 级:新手上路
帖 子:23
专家分:0
注 册:2006-4-5
收藏
得分:0 
怎么没有人来回答我的帖子,伤心啊
2006-04-14 17:59
快速回复:学习global.asa的typelibrary声明遇到的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.035559 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved