PHP 8.5.0 Alpha 4 available for testing

Voting

: six plus two?
(Example: nine)

The Note You're Voting On

Anonymous
18 years ago
If someone want to get a COM object out of a DCOM object can do something like that:

<?php
$dcom_obj
= new COM('dacom.object','remotehost') or die("Unable to get DCOM object!");
$com_obj = new Variant(NULL);
$dcom_obj->Get_Module($com_obj); //user function which returns a custom IDispatch (casted as variant*)
?>

Hopefully this will help someone, because it took me quite long to figure this out.

<< Back to user notes page

To Top