delphi - is there a way to find who fired OnExecuteComplete event of TADOConnection? -
i trying write ado database profiler in delphi 7. part of delphi project.
i using onexecutecomplete
event, on pcs "msado15.dll" access violation error.
i have researched , underestand win version incompatible or damaged or has different version..
that av error happened when use parameters[i].value
property of "command".. decide write different type, need refference object called onexecutecomplete
event in adoconnection. if can reach it, problem solved.
i use "command" , "recordset" refferences compare of ado object linked adoconnection, ado objects has no recordset.. there way find fire event? sender?
i not make out if in .net or not, in .net it's easy. use system.diagnostics.stacktrace see whole stack of calls lead event.
for native code there way stacktrace if compile in debug mode. it's quite time since i've written delphi (or pascal) code. try profiling free aqtime standard works delphi (both native .net) has call-graph feature.
Comments
Post a Comment