ID: 30906 Updated by: [EMAIL PROTECTED] Reported By: egarcia at egm dot as -Status: Open +Status: Wont fix Bug Type: COM related Operating System: Windows XP SP2 PHP Version: 4.3.10RC1 New Comment:
Use PHP 5 if you want workin COM support. Previous Comments: ------------------------------------------------------------------------ [2004-12-06 03:52:04] ecgirl at iahk dot com Same problem under Windows NT ------------------------------------------------------------------------ [2004-11-26 13:44:41] egarcia at egm dot as Sorry, the code to reproduce is: $y = new COM('ADODB.Connection'); if ($y) { echo "OK"; } else { echo "fail"; } If I test it on the WEB. 4.3.9 => OK 4.3.10RC1 => fail If I test it on the CONSOLE. 4.3.9 => OK 4.3.10RC1 => OK ------------------------------------------------------------------------ [2004-11-26 13:34:00] egarcia at egm dot as Description: ------------ I have the 4.3.9 version, I upgrade to make tests over the 4.3.10RC1, but I found that: The COM interface doesn't works, I make tests with ADODB library, and when the code runs: $dbc = new COM('ADODB.Connection'); It doesn't create the object. This error doesn't happen in 4.3.9. Reproduce code: --------------- $y = new COM('ADODB.Connection'); if (is_resource($y)) { echo "OK"; } else { echo "fail"; } Expected result: ---------------- OK Actual result: -------------- fail ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30906&edit=1