Page 1 of 1

php 5 and COM

Posted: Fri Jan 14, 2005 5:48 am
by pelegk2
i tried to do :

Code: Select all

$darDll = new COM("DaromDll.DarOle") or die("Unable to instanciate class");
  $prog = $darDll -> Programs -> Add(1);
i recivethe message :
"cant pass parameter 1 by reference"

why is that happening?
with php 4.3.2 i dont have any problem with this and it works just find!
maye i need to add something on the extension or is there a problem in my syntax?
thnaks i nadvance
peleg