Abstract: After installing the Updates 1,2 and 3 in Delphi/C++Builder 2007 I get “Access violation at address 00000000 read of address 00000000” under differing situations
The reason for this behavior appears to stem from the fact that the IDE is not restarted between applying updates. This results in some IDE specific (and crucial) packages being marked in the registry so that the IDE will not load them.
The quickest way to check this is to start the IDE from the command prompt with the –r option, so you start the IDE as follows: “BDS.EXE -rtest” without the quotes of course!
The “test” string can be anything you like; all it does is to let the IDE start up with a virgin configuration, thus only the original packages will be loaded, as the IDE uses a different registry key and “Application Settings” directory to start up.
For instance when using “–rtest” command line the registry key below will created and populated, with the default IDE packages:
If the IDE starts without a problem using the –r option then chances are high that the above situation happened OR some 3rd party package was the cause of the problem.
The quickest way to get your IDE to start up from the icon is to just rename your
registry key, and then start the IDE up from the icon, obviously if you had 3rd party packages installed these will not be loaded. Your options are to install all the 3rd party packages again…
You can follow a manual process starting by looking at the
HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Known IDE Packages
Key, then look for any packages that might have been disabled, by checking any string entries where the data has been pre-pended with an underscore OR is blank; the IDE will not load these packages.
$(BDS)\Bin\startpageide100.bpl REG_SZ “_Start Page”
$(BDS)\Bin\startpageide100.bpl REG_SZ “”
This will cause the IDE to load without the start page.
The same goes for 3rd party or standard packages and assemblies under the following keys:
“HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Known IDE Assemblies”
To re-active the packages merely remove the underscore or if the entry is blank any name you enter will do.
Author: Roy Nelson