<p>I am trying to call a COM object from PHP using the COM interop extension. One function requires an OLE_COLOR as an argument? Is there any way to pass this kind of value from PHP?</p>

<p>I have tried passing a simple integer value with no success.</p>

<pre><code>$this-&gt;oBuilder-&gt;Font-&gt;Color = 255;
</code></pre>

When I've called COM functions from PHP, I just passed them in the call.  So my old code has:
```
$myComObject = new COM("MY_COM_OBJECT");
$myComObject->Myfunction( myVar1, myVar2, 'my string var');
```