I am trying to write an ADO Database profiler in Delphi 7. it is part of a Delphi project.
I am using OnExecuteComplete
event, but on some PCs i get "MSADO15.DLL" Access Violation error.
I have researched and underestand some win version is incompatible or damaged or has different version..
that AV error happened when i use parameters[i].value
property of "Command"..
then i decide to write a different type,
now i need a refference to an object who called OnExecuteComplete
event in ADOConnection.
if i can reach it, problem will be solved.
i use "Command" and "Recordset" refferences to compare by all of ADO object who linked by this ADOConnection, but some ADO objects has no Recordset.. is there a way to find who fire that event? like Sender?