#19908 [Bgs->Opn]: Calling Release() on COM object throws exception

From: Date: Thu, 17 Oct 2002 13:56:27 +0000
Subject: #19908 [Bgs->Opn]: Calling Release() on COM object throws exception
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22662@lists.php.net to get a copy of this message
 ID:               19908
 User updated by:  msisolak@yahoo.com
 Reported By:      msisolak@yahoo.com
-Status:           Bogus
+Status:           Open
 Bug Type:         COM related
 Operating System: Windows 2000
 PHP Version:      4.3.0-pre1
 New Comment:

I don't believe this is an ADODB problem.  The same error happens if I
do this:

<?php

$xml = new COM("MSXML.DOMDocument") or die("failed to create");
$xml->Release();

?>


Previous Comments:
------------------------------------------------------------------------

[2002-10-16 18:54:16] phanto@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


this is an adodb issue, the exception is not thrown by php.

------------------------------------------------------------------------

[2002-10-14 13:25:16] msisolak@yahoo.com

Testing this code in 4.3.0-pre1:

<?php

$adodb = new COM("ADODB.Connection") or die("Cannot start ADO");
$adodb->Release();

?>

under ISAPI results in this error page for me:

Warning: (null)(): Invoke() failed: Exception occurred. Source:
ADODB.Connection Description: Operation is not allowed when the object
is closed. in c:\work\test.php on line 4

Warning: String is not zero-terminated (ZZZZZZZZ„̏*ZZZZ ) (source:
c:\php-4.3.0pre1\ext\com\com.c:2112) in c:\work\test.php on line 4


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19908&edit=1



Thread (5 messages)

« previous php.bugs (#22662) next »