PHP Manual
Prev |  | Next

# com_load

(PHP 3>= 3.0.3)

com_load -- Creates a new reference to a COM component

## Description

string com_load ( string module name [, string server name [, int codepage]])

com_load() creates a new COM component and returns a reference to it. Returns `FALSE` on failure. Possible values for `codepage` are `CP_ACP`, `CP_MACCP`, `CP_OEMCP`, `CP_SYMBOL`, `CP_THREAD_ACP`, `CP_UTF7` and `CP_UTF8`.

Prev | Home | Next
com_load_typelib | Up | com_propget