Transferred your application from 7 to XE2. Transferred successfully, but there was a problem. The compiler periodically scolds the implementation section and outputs:

[DCC Fatal Error] U_checklist.pas (348): F2084 Internal Error: AV076C4237-W00000000-1

Restarting the environment helps, but is rather annoying, because This is repeated quite often. Tell me what I'm doing wrong? Here, for example, the first lines of the 1st module where it gives an error:

unit U_checklist; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, sButton, sListBox, sCheckListBox, ExtCtrls, sPanel; type TF_checklist = class(TForm) sPanel1: TsPanel; sPanel2: TsPanel; sCheckListBox1: TsCheckListBox; sButton1: TsButton; procedure FormCreate(Sender: TObject); procedure FormActivate(Sender: TObject); procedure sButton1Click(Sender: TObject); procedure sCheckListBox1ClickCheck(Sender: TObject); procedure sCheckListBox1Click(Sender: TObject); procedure sCheckListBox1KeyPress(Sender: TObject; var Key: Char); end; var F_checklist: TF_checklist; implementation uses Types, U_main, Math, U_DM; {$R *.dfm} 

    2 answers 2

    Most likely, it is necessary to recompile all third-party components in the new environment as the old dcu project files compiled in D7 are connected. Clean the project with Clean . (perhaps in general the project will start after this)))

    alt text

    • And it is better to manually delete all the dcu-shki from the project folder (except for third-party, of course). - kot-da-vinci
    • Thank you, everything helped. The project started. Fatal Error has not yet appeared. - Vladislav24
    • Unfortunately, these measures did not help completely. What other steps can I take? - Vladislav24
    • what is it this time? - NMD
    • Yes, all the same error in the same place, but another module. DCU-shki all cleaned. - Vladislav24

    It helped me: remove all DCU, execute a CLEAN project.

    (see https://forums.embarcadero.com/thread.jspa?threadID=108031 )