php-src/ext/com_dotnet
Christoph M. Becker 252b52ac5a
Improve COM ctor exception code for failing ProgIDs (GH-17673)
The `$module_name` of `com::__construct()` can be a ProgID, ClassID or
moniker.  We first try `CLSIDFromString()`, and if that fails, we go
ahead and try to treat the `$module_name` as a moniker.  If that also
fails, we throw an exception with the result of `MkParseDisplayName()`
what would just be `MK_E_SYNTAX` if given a ProgID.  This result is
highly confusing for the common case where a ProgID is given, which is
not registered (e.g. due to a typo).  In this case, we use the original
`HRESULT` (`CO_E_CLASSSTRING`) instead.
2025-02-14 17:44:43 +01:00
..
tests Fix GH-17658: COMPersistHelper::LoadFromStream() can segfault (GH-17659) 2025-02-11 12:42:25 +01:00
com_com.c Improve COM ctor exception code for failing ProgIDs (GH-17673) 2025-02-14 17:44:43 +01:00
com_dotnet.c Resolve -Wincompatible-pointer-types warnings (GH-17456) 2025-01-13 10:54:13 +01:00
com_extension.c Prevent direct instantiation of com_safearray_proxy (GH-10278) 2024-10-07 11:35:59 +02:00
com_extension.stub.php Fix GH-15501: Windows HAVE_<header>_H macros defined to 1 or undefined (#15508) 2024-08-20 21:10:50 +02:00
com_extension_arginfo.h Generated arginfo header files: remove empty zend_function_entry arrays (#15705) 2024-09-03 23:19:53 +02:00
com_handlers.c Remove more unused local variables (GH-17688) 2025-02-03 20:06:29 +01:00
com_iterator.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
com_misc.c Drop superfluous php_com_dotnet_object.ce (GH-17603) 2025-01-27 20:26:57 +01:00
com_olechar.c Preferably include from build dir (#13516) 2024-06-26 00:26:43 +02:00
com_persist.c Fix GH-17658: COMPersistHelper::LoadFromStream() can segfault (GH-17659) 2025-02-11 12:42:25 +01:00
com_persist.stub.php Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend 2021-02-22 15:24:03 +01:00
com_persist_arginfo.h Fix registration of internal readonly child classes (#15459) 2024-08-24 12:36:54 +02:00
com_saproxy.c Prevent direct instantiation of com_safearray_proxy (GH-10278) 2024-10-07 11:35:59 +02:00
com_typeinfo.c Merge branch 'PHP-8.3' into PHP-8.4 2024-11-29 16:32:12 +01:00
com_variant.c Resolve -Wincompatible-pointer-types warnings (GH-17456) 2025-01-13 10:54:13 +01:00
com_wrapper.c Refactor disp_invokeex() to avoid superfluous recheck (GH-17001) 2024-12-01 18:55:38 +01:00
config.w32 Fix GH-17658: COMPersistHelper::LoadFromStream() can segfault (GH-17659) 2025-02-11 12:42:25 +01:00
CREDITS
Makefile.frag.w32 Fix GH-17658: COMPersistHelper::LoadFromStream() can segfault (GH-17659) 2025-02-11 12:42:25 +01:00
php_com_dotnet.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_com_dotnet_internal.h Drop superfluous php_com_dotnet_object.ce (GH-17603) 2025-01-27 20:26:57 +01:00