When compiling produces an error:
[Fatal Error] Unit4.pas(10): Internal error: SY576 and highlights the string
TForm4=class(TForm) ... Delfi reinstalled, still the same. Help me fix it. ((
If the error is in the code, then only here:
procedure TForm4.Image2Click(Sender: TObject); begin xls:=CreateOLEObject('Excel.Application'); xls.Workbooks.Open('D:\ΠΠΎΠ²Π°Ρ ΠΏΠ°ΠΏΠΊΠ°\ΠΠ½ΠΊΠ΅ΡΠ°.xlsx'); xls.Range['A2']:=Edit1.Text; xls.Range['I3']:=Edit2.Text; xls.Range['A6']:=ComboBox1.Text; xls.Range['A8']:=ComboBox2.Text; if RadioButton1.Checked then xls.Range['D3']:='ΠΡΠΆΡΠΊΠΎΠΉ' else xls.Range['D3']:='ΠΠ΅Π½ΡΠΊΠΈΠΉ'; xls.ActiveBook.SaveAs(ExtractFilePath(Application. ExeName) + Edit1.text+'.xlsx'); xls.Visible:= True; end;