Opening any application "access violation at address ... in module 'vcl70.bpl'. Write of address..."
Posted on 2004-09-07
Something strange happening here. Out of the blue, it seems, "acces violation at address ... in module 'vcl70.bpl'. Write of address..." appears whichever application I open that I am working on. The most recent change I made was add a line that called the ColorDialog from the VCL. Similar lines have been working fine for a long time in different units. The just added line also worked! However when I closed the session, the problem started. I also, less recently, replaced some directories for unused applications (backups). Putting them back did not solve it.
I noticed that vcl70.bpl is in the C:\windows\system32 directory, so that is pretty basic. Hope I do not have to re-install Delphi for I read somewhere here that de-installing can make the problem bigger... Plus, how could damage (access violation) extend thàt far from just adding a simple line.
BTW that line was:
if ColorDialog.Execute then LinkColor.Color := ColorDialog.Color;