使用Borland Developer Studio (BDS) 2006打开一个C++Builder工程,出现Access Violation错误:

+ $6[22B5B07D]{bcbide100.bpl} XMLProj.XMLProj.CreateNewBdsProjFile (Line 1249, "..\cpp\XMLProj.pas" + 2) + $6
+ $0[51F06B47]{rtl100.bpl  } System.System.@HandleAnyException (Line 9980, "system.pas" + 13) + $0
 + $41[7C923786]{ntdll.dll   } RtlConvertUlongToLargeInteger + $41
 + $9[7C92EAF5]{ntdll.dll   } KiUserExceptionDispatcher + $9
 + $22[22B251E6]{bcbide100.bpl} CppProjOpts.CppProjOpts.MakeBprToBdsProj (Line 7414, "CppProjOpts.pas" + 8) + $22
 + $24[22B2564C]{ bcbide100.bpl} CppProjOpts.CppProjOpts.TCppLegacyProjectFileHandler.Convert (Line 7637, "CppProjOpts.pas" + 11) + $24
 + $9[22B257A8]{bcbide100.bpl} CppProjOpts.CppProjOpts.TCppLegacyProjectFileHandler.FileOpen (Line 7676, "CppProjOpts.pas" + 1) + $9
 + $14[20C347A4]{coreide100.bpl} DocModul.DocModul.TFilterList.OpenFile (Line 777, "DocModul.pas" + 35) + $14
 + $1E[20C39572]{coreide100.bpl} DocModul.DocModul.ProjectOpenDialog (Line 3079, "DocModul.pas" + 30) + $1E
[00412CC7]{bds.exe     }
 + $3[218AD460]{vclactnband100.bpl} ActnMenus.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3143, "ActnMenus.pas" + 3) + $3
 + $4[218A891D]{vclactnband100.bpl} ActnMenus.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 883, "ActnMenus.pas" + 3) + $4
 + $6[5203C998]{vcl100.bpl  } Controls.Controls.TWinControl.WndProc (Line 7242, "Controls.pas" + 101) + $6
 + $4[218AA158]{vclactnband100.bpl} ActnMenus.ActnMenus.TCustomActionMenuBar.WndProc (Line 1572, "ActnMenus.pas" + 15) + $4
 + $0[51F40BB0]{rtl100.bpl  } Classes.Classes.StdWndProc (Line 11572, "classes.pas" + 8) + $0
 + $6F[77D18706]{USER32.dll  } GetDC + $6F
 + $14F[77D187E6]{USER32.dll  } GetDC + $14F
 + $122[77D189A0]{USER32.dll  } GetWindowLongW + $122
 + $A[77D1BCC7]{USER32.dll  } DispatchMessageA + $A

经过检查,发现BDS2006只能处理C++Builder 5/6的工程,而早期的工程文件由于不是XML格式,就会导致上面的错误。而要想处理早期的工程,必须先用BCB 6.0转换一下。

posted on 2006-05-01 23:01  zealsoft  阅读(1464)  评论(0编辑  收藏  举报