September 2001
Intermediate to advanced
768 pages
32h 45m
English
int com_load(string component) | component | Name of component to load |
Loads and initializes a COM object.
Returns:
COM resource identifier, FALSE on failure
Description:
Loads and initializes a COM object. Returns an identifier that’s used in other COM functions. To load a COM object, it must first be registered using regsvr32.exe on Microsoft Windows platforms. If you’re using a preexisting or commercial COM object, this is usually done automatically. In ASP, the code in the following example would be written as follows:
set com = Server.CreateObject("ObjectName.ClassName") Version:
Existing since version 3.0.3
Example:
$com = com_load("ObjectName.ClassName");
|
Read now
Unlock full access