Board index » delphi » Treeview Exceptions

Treeview Exceptions

Hello,
working with treeview  ( Delphi3 )  I very frequently get the error :

Exception EAccessViolation in module xxxx.exe at  0067E9D1,
Access Violation at address 0067F9D1. Write of address 02C00000,

without apparent reason nor indication of erroneous code.

Almost always this causes aborts also when executing all other
programs till the shutdown of the computer.

which could be the cause and is it possible to have a more complete
diagnosis ?
Many thanks in advance & regards, Giovanni.

 

Re:Treeview Exceptions


Are you writing the Treeview accessing code in a try ... except
block?

It happened to me also. The reason could be:

1. The treeview might not be created when you try to access its
nodes in your code.
2. You might be trying to access a node that doesn't exist.

Try to put your treeview accessing code in a try.. except block and look for the ETreeviewError exception.

Please go ahead and check your logic in accessing that
treeview component thoroughly.

Thanks.
Magesh.

Quote
"Giovanni Filippini" <filippi...@ciaoweb.it> wrote:
>Hello,
>working with treeview  ( Delphi3 )  I very frequently get the error :

>Exception EAccessViolation in module xxxx.exe at  0067E9D1,
>Access Violation at address 0067F9D1. Write of address 02C00000,

>without apparent reason nor indication of erroneous code.

>Almost always this causes aborts also when executing all other
>programs till the shutdown of the computer.

>which could be the cause and is it possible to have a more complete
>diagnosis ?
>Many thanks in advance & regards, Giovanni.

Re:Treeview Exceptions


Hello,
working with treeview  ( Delphi3 )  I very frequently get the error :

Exception EAccessViolation in module xxxx.exe at  0067E9D1,
Access Violation at address 0067F9D1. Write of address 02C00000,

without apparent reason nor indication of erroneous code.

Almost always this causes aborts also when executing other successive
programs.

which could be the cause and is it possible to have a more complete
diagnosis ?
Many thanks in advance & regards, Giovanni.

Other Threads