ID:               31159
 User updated by:  moricio at hotmail dot com
 Reported By:      moricio at hotmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         COM related
 Operating System: Windows XP/2000 Server
 PHP Version:      4.3.10
 New Comment:

I tried the snpashot and problem is still there.

The result message is:

PHP has encountered an Access Violation at 6E6E6F63

Thanks.


MRamirez


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

[2004-12-21 15:43:54] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



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

[2004-12-17 20:56:21] moricio at hotmail dot com

Description:
------------
this sample code 

$conn = new COM("ADODB.Connection")
or die("Cannot start ADO");
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=./thefile.mdb;");
$rs = $conn->Execute("SELECT * FROM thetable");

doesn't work in PHP version 4.3.10.

DCOMCNFG was used to allow permissions on the COM object for
execution.

It worked flawlessly in version 4.3.9

MRamirez


Reproduce code:
---------------
$conn = new COM("ADODB.Connection")
or die("Cannot start ADO");
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=./thefile.mdb;");
$rs = $conn->Execute("SELECT * FROM thetable");

Expected result:
----------------
A successful connection to the COM Object.


Actual result:
--------------
PHP has encountered an Access Violation at 6E6E6F63




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


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

Reply via email to