Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Oct : Delphi 6: Registry Access Violation

www.cryer.info
Managed Newsgroup Archive

Delphi 6: Registry Access Violation

Subject:Delphi 6: Registry Access Violation
Posted by:"Juan Heyns" (jua..@netcb.com)
Date:Fri, 21 Oct 2005 10:48:08

Delphi 6: Registry Access Violation

I am reading all registry keys from the registry to search for a specific
strings in registry keys, values and value names. These needs to be renamed
to another format. However when I get to some registry keys in
HKEY_LOCAL_MACHINE, I get an access violation. I have tried catching it with
an EAccessViolation exception. I don't know if this is the right way to go
(I am not that familiar with Delphi).

Could anybody tell me why there would be a access violation (even though I
am just reading)?

Could anybody tell me how to catch such a run-time error.

Regards
Juan Heyns

Replies:

www.cryer.info
Managed Newsgroup Archive