运行了一次DCExpert7.exe, 当外部点开另一个工程文件时(*.pas),  打开一个新的delphi程序, 估计修改了注册表, 那位老兄知道请告知如何恢复, 谢谢!

解决方案 »

  1.   

    把以下代码保存为.reg注册表文件
    修改好你的delphi32.exe路径,导入注册表
    Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\DelphiUnit]
    @="Delphi Source File"[HKEY_CLASSES_ROOT\DelphiUnit\DefaultIcon]
    @="D:\\Program Files\\Borland\\Delphi7\\Bin\\delphi32.exe,5"[HKEY_CLASSES_ROOT\DelphiUnit\Shell][HKEY_CLASSES_ROOT\DelphiUnit\Shell\Make][HKEY_CLASSES_ROOT\DelphiUnit\Shell\Make\command]
    @="\"D:\\Program Files\\Borland\\Delphi7\\Bin\\DCC32.EXE\" \"-B\" \"%1\""[HKEY_CLASSES_ROOT\DelphiUnit\Shell\Open]
    @="&Open"[HKEY_CLASSES_ROOT\DelphiUnit\Shell\Open\Command]
    @="D:\\Program Files\\Borland\\Delphi7\\Bin\\delphi32.exe /np"[HKEY_CLASSES_ROOT\DelphiUnit\Shell\Open\ddeexec]
    @="[open(\"%1\")]"[HKEY_CLASSES_ROOT\DelphiUnit\Shell\Open\ddeexec\Application]
    @="DELPHI32"