|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-04 23:56 UTC] jed@php.net
[2005-01-05 00:02 UTC] jed@php.net
[2005-01-05 09:28 UTC] wez@php.net
[2005-01-13 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 04:00:02 2025 UTC |
Description: ------------ I am using a vb build COM that pushes data to another db. When I run this COM, PHP crashes with the following application error: ' The instruction at "0x10038b14" referenced memory at "0x00001000". The memory could not be "read". ' This COM will establish a connection to the db and reference the path ($objActLink_Notes->ACTPath) correctly (I have checked this and printed it to a log file to make sure). It will also close the path and terminate the object. Also, when I run this code in VB, I am able to put the note without any issues. It is just when it it compiled and installed. Reproduce code: --------------- $ContactID = base64_decode("VThNPiEgRDJESCEh"); $NoteText = "Testing note connection"; $objActLink_Notes = new COM("ACT_MySQL_Link.Notes") or die("Unable to instantiate COM object"); $objActLink_Notes->ACTPath = realpath("act.dbf"); $objActLink_Notes->ACTPath = 'E:\act.dbf'; $objActLink_Notes->AddNote($ContactID,$NoteText); $objActLink_Notes = null; Expected result: ---------------- note to be added to the db at specified contact ID Actual result: -------------- When I run this COM, PHP crashes with the following application error: ' The instruction at "0x10038b14" referenced memory at "0x00001000". The memory could not be "read". '