PHP ʖ²ἯTH
º/A
VIII. COM support functions for Windows
½鉜
COM is a technology which allows the reuse of code written in any language (by any language) using a standard calling convention and hiding behind APIs the implementation details such as what machine the Component is stored on and the executable which houses it. It can be thought of as a super Remote Procedure Call (RPC) mechanism with some basic object roots. It separates implementation from interface.
COM encourages versioning, separation of implementation from interface and hiding the implementation details such as executable location and the language it was written in.
Шdz
COM functions are only available on the Windows version of PHP.
°²װ
բЩº¯ʽΪ PHP ºːĵĒ»²¿·֣¬ΞШ±»°²װ¼´¿Ɋ¹Ӄ¡£
PHP µĠWindows °汾ґ¾Ěփ¸À©չģ¿鵄֧³֡£ĺΞШ¼Ӕ؈κθ½¼ӵĀ©չ¿⼴¿Ɋ¹ӃբЩº¯ʽ¡£
ԋАʱŤփ
բЩº¯ʽµĐЎªʜµ½ȫ¾ּA HREF="configuration.html#configuration.file" Ťփ΄¼þ php.ini µē°Ϭ¡£
Name
Default
Changeable
com.allow_dcom
"0"
PHP_INI_SYSTEM
com.autoregister_typelib
"0"
PHP_INI_SYSTEM
com.autoregister_verbose
"0"
PHP_INI_SYSTEM
com.autoregister_casesensitive
"1"
PHP_INI_SYSTEM
com.typelib_file
""
PHP_INI_SYSTEM
Ԥ¶¨ҥ³£
ӉӚբЩ³£ʇӉ¸À©չģ¿鶨ҥµģ¬Ҳ´˖»ӐԚ¸À©չģ¿鱻±ҫµ½ PHP £¬»ڔːЊ±±»¶¯̬¼Ӕغ³£²œА§¡£
Ϡ¹زο¼
Ŀ¼ COM -- COM class VARIANT -- VARIANT class com_addref -- Increases the components reference counter. com_get -- Gets the value of a COM Component's property com_invoke -- Calls a COM component's method. com_isenum -- Grabs an IEnumVariant com_load_typelib -- Loads a Typelib com_load -- Creates a new reference to a COM component com_propget -- Gets the value of a COM Component's property com_propput -- Assigns a value to a COM component's property com_propset -- Assigns a value to a COM component's property com_release -- Decreases the components reference counter. com_set -- Assigns a value to a COM component's property
º/A
ưµ㼯A
ccvs_void
ɏһ¼¶
COM