I am upgrading a project from Delphi 2009 to D2010 and came across the following Internal Error
[DCC Fatal Error] frm_Test.pas(381):
F2084 Internal Error: C15700
when calling
(ILocalizable(TMyProgram.MainForm.AbilitiesForm)).Localize('c:\test.txt');
Here are the definitions:
ILocalizable = interface
['{4DF36053-2651-45DE-ADF7-AEC033937A02}']
procedure Localize(const FileName: TFileName);
end;
TMyProgram is a helper class similar to the C#’s class Program.
It has aproperty MainForm which points to the main form of the application.
The main form itself has a property poiting to another form which is created and emedded within a panel in the main form.
I am calling the Localize method of the subform.
This source has been compilable with Delphi 2005-9.
Any idea is welcome.
These are bugs in the compiler/linker. You can find many references of these bugs on the internet in different Delphi versions, but they are not always the same bugs. That makes it difficult to give one solution for all those different kind of problems.
General solutions that might fix it are
More information can be found here.