Add Method
      
 

Description

Adds new ISAPI extension to the collection.


Return Type

An ISAPIExtension object.  


Syntax

object.Add (FullPath, [Name])



The Add Method syntax has these parts:

Part Description
object An expression evaluating to an object of type ISAPIExtensions.
FullPath Required. A String value. Full path to ISAPI DLL.
Name Optional. A Variant value. Name you can set for loaded DLL. Not used by wodWebServer.

Remarks

This method will try to load specified DLL. If appropriate entry point is found, and DLL exports needed functions (such as HttpFilterProc, HttpExtensionProc, etc.) it is loaded and added to the collection

 

Since same DLL can be both filter and the extension at the same time, IsFilter and IsExtension properties are separated (not mutually exclusive).

 

Once DLL is loaded, it can be used by wodWebServer immediately.