From:             [EMAIL PROTECTED]
Operating system: Windows 2000 Server
PHP version:      4.1.2
PHP Bug Type:     COM related
Bug description:  Can only run on Com Object at a time.

Ref Value not being passed back. I've created this sample and it has the
same results that I was having in my PHP page. I couldn't send the PHP
page that I'm actually having the problem on because it doesn't DB calls
etc. I also, have had this same problem on Com function that pass
arguments to a vb dll. I saw on the bug search, that you other people have
had this problem with the vb6 dll and that it was fixed. However, I'm
having the same problem on Windows 2000 Server with Version 4.1.2 and
re-download PHP in the last few weeks with all the patches.

test.php


<html>
<head>
<meta name="GENERATOR" content="Workorder Databyte">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http_equiv="cache-control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<?
include("C:/Inetpub/wwwroot/PHP/PHPFunctions/rtest.inc");
$t=true;
$c='VarC';
mytest($t,$c);
print("<p> ".$t);
print(" ".$c);
?>
</body>
</html>

rtest.inc

<?
function mytest($t,$c) {
 
        $c='MyRef';
        $t=false;
 return;
}
?>

Output results after running.


X-Powered-By: PHP/4.1.0

Content-type: text/html



<html>

<head>

<meta name="GENERATOR" content="Workorder Databyte">

<meta http-equiv="pragma" content="no-cache">

<meta http-equiv="expires" content="0">

<meta http_equiv="cache-control" content="no-cache">

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

</head>

<body>

<p> 1 VarC


Thanks,
Shelley
-- 
Edit bug report at http://bugs.php.net/?id=16916&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16916&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16916&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16916&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16916&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16916&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16916&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16916&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16916&r=submittedtwice

Reply via email to