본문 바로가기

[Delphi&ERP]Vista에서 d2009설치후 00000000 에러날 때


왕 쌩쇼하고 델파이를 몇번을 설치 했는지..

http://support.embarcadero.com/article/37108


Access violation at address 00000000 read of address 00000000, when starting the IDE or opening a project after installing the updates
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:

"HKEY_CURRENT_USER\Software\Borland\test\5.0"

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

"HKEY_CURRENT_USER\Software\Borland\BDS\5.0" 

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…

OR

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.

For instance:

 $(BDS)\Bin\startpageide100.bpl      REG_SZ         “_Start Page”
OR
 $(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 Packages” 

and

“HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Known Assemblies” 

and

“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



결론은 레지에 원래 있는 BDS 레지는 삭제를 몽땅하고 test로 실행한 놈이 생성된 Test레지를 BDS로 바꾸고 실행하면 된다.

일케 하면 실행도 잘되고
DevExpress AutoInstaller에도 IDE 목록에 2009가 보인다.

Delphi 7도 마찬가지다.

설치 후 절때 그냥 BDS로는 죽었다 깨어나도 안됨.!
얼마나 개삽질을 했던지 빌어쳐먹을 비스타 샹호로잡넘의 XXX@#$!!@