Name
Type Library Declarations
Synopsis
<!-- METADATA TYPE="TypeLibrary" FILE="FileName" UUID="TypeLibraryUUID" VERSION="MajorVersionNumber.MinorVersionNumber" LCID="LocaleID" -->
Type libraries are accessory files that contain information about the properties and methods of COM objects. These files describe any constants used by the object and the data types of acceptable property values. A type library enables your application to more accurately report errors in your use of the object to which the type library corresponds. It also allows you to use constants defined in the object's DLL. This can significantly lower the complexity of an object's code and increase the readability and reuse of your code without forcing you to create and use Server-Side Includes that can be difficult to maintain for all of your objects.
As you know, you can instantiate application-scoped and session-scoped objects in the GLOBAL.ASA file. If any of these objects have a corresponding type library, you can declare its use in the application's GLOBAL.ASA file.
Parameters
-
FileName The full physical (not virtual) path and filename of the type library file for the object in question. If you include both a
FileNameand aTypeLibraryUUIDparameter to theTypeLibrarydeclaration, the web server will identify the type library using the filename. You must include either aFileNameor aTypeLibraryUUID.-
TypeLibraryUUID The universally unique identification number of the type library. This is different from the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access