php 5 and COM

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

php 5 and COM

Post 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
Post Reply