W_Fox
asked on
ADO: 'read of address 0xfeeefef6' on form.close
Hello,
system setup is as follows:
Delphi5 Ent, Update pack1, ADO Update pack2 (as I understand, there's no need for ADO Update pack1 on Ent version).
MDAC 2.7, Oracle client 8.1.7, Win2000, SP4, all critical updates are installed.
Prior installing of ADO update, I had 2 problems w/ ADO: the first one "..either EOF or BOF.." on ADOQuery.Close, and the second: AV 'read of address 0xfeeefef6' on Form.close. After installing ADO Upd, the first problem is gone, but AV is still here :(.
Problem occurs only on closing of project/form and only when IDE is running. If standaone *.exe is launched on the same machine (or on any other machine) - no error occurs.
Should I ignore this error or is there still something to do to avoid it?
I searched the web, but didn't find a solution. Seems that several developers have the same problem, but solution is unknown :(.
50 points for now, and I think this is acceptable for answer "you should ignore it" :); if there's a solution, I will increase amount of points.
Thanks in advance,
W_Fox
system setup is as follows:
Delphi5 Ent, Update pack1, ADO Update pack2 (as I understand, there's no need for ADO Update pack1 on Ent version).
MDAC 2.7, Oracle client 8.1.7, Win2000, SP4, all critical updates are installed.
Prior installing of ADO update, I had 2 problems w/ ADO: the first one "..either EOF or BOF.." on ADOQuery.Close, and the second: AV 'read of address 0xfeeefef6' on Form.close. After installing ADO Upd, the first problem is gone, but AV is still here :(.
Problem occurs only on closing of project/form and only when IDE is running. If standaone *.exe is launched on the same machine (or on any other machine) - no error occurs.
Should I ignore this error or is there still something to do to avoid it?
I searched the web, but didn't find a solution. Seems that several developers have the same problem, but solution is unknown :(.
50 points for now, and I think this is acceptable for answer "you should ignore it" :); if there's a solution, I will increase amount of points.
Thanks in advance,
W_Fox
>Should I ignore this error or is there still something to do to avoid it?
yes, don't know what causes this error, but guessing its caused somewhere where the ide deinitialize something. also this error must
not caused by the ado-components. it may also caused by any
other (thirdparty) component you use within your project.
meikl ;-)
yes, don't know what causes this error, but guessing its caused somewhere where the ide deinitialize something. also this error must
not caused by the ado-components. it may also caused by any
other (thirdparty) component you use within your project.
meikl ;-)
ASKER
meikl: there are no 3rdparty components used yet. I was planning to add some when I'd get everything working but currently there are only standard components used.
Error occurs only if DB connection is made, if I just launch the app and close it - there's no AV.
code sample:
...
ADOQ1.ConnectionString := 'Provider=MSDAORA.1; Data Source=...';
ADOQ1.SQL.Text := 'SELECT * FROM ...';
ADOQ1.Open;
while not ADOQ1.EOF do begin
...
ADOQ1.Next;
end;
ADOQ1.Close;
...
Form1.Close;
Ivanov G: I tried to put both ADOQueries in data module - the same result :(
Regards,
W_Fox
Error occurs only if DB connection is made, if I just launch the app and close it - there's no AV.
code sample:
...
ADOQ1.ConnectionString := 'Provider=MSDAORA.1; Data Source=...';
ADOQ1.SQL.Text := 'SELECT * FROM ...';
ADOQ1.Open;
while not ADOQ1.EOF do begin
...
ADOQ1.Next;
end;
ADOQ1.Close;
...
Form1.Close;
Ivanov G: I tried to put both ADOQueries in data module - the same result :(
Regards,
W_Fox
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@ ADOQ1.ConnectionString := 'Provider=MSDAORA.1; Data Source=...';
it seems that you don't use the TADOConnection...BTW it's the same as the client is Oracle...
so what about before Form closing....
ADOQ1.ConnectionSTring := '';
it seems that you don't use the TADOConnection...BTW it's the same as the client is Oracle...
so what about before Form closing....
ADOQ1.ConnectionSTring := '';
ASKER
I tried both ways - no success, error is still there :(
Anyway, I accepted your comment as answed; also I did a little debugging and it seems that error occurs somewhere in MTxOCI (.ologof -?). Hopefully this error will not occur on client site :).
Regards,
W_Fox.
Anyway, I accepted your comment as answed; also I did a little debugging and it seems that error occurs somewhere in MTxOCI (.ologof -?). Hopefully this error will not occur on client site :).
Regards,
W_Fox.
Probably your ADOConnection, ADOQuery, ... or whatever you use is on the Form. You can put it in DataModule...