|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-11 12:59 UTC] phanto@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 20:00:01 2025 UTC |
I have 2 COM objects and I want to pass 1 of them to another by reference. Apache 1.3.23 <? //first object is ADODB.recordset $recordset= new COM("ADODB.Recordset") or die("recodset down"); //I want this object to be passed by reference so i declare Variant type $rs=new Variant($recordset); //below lines are unimportant because I got Internal Server ERROR here $object2= new COM("object.object") or die ("object down"); $object2->ddw("sterfind",$rs); ?> when I declare $rs = new Variant() or $rs= new Variant(VT_DISPATCH) then script works but object2 reports type mismatch error_log raports: Premature end of script headers: c:/php/php.exe