Hello
I've modified a sil file with the editor and after
I've reloaded the file with the expert, Delphi can't
compile the project saying:
RLINK32: Unsupported 16bit resurce in file xxxxx.dfm
If I tray to open the form Delphi says:
Error creating form: Identifier expected on line xxx
on line xxx there is this line of code:
ValuesEx = {50617373776F72640150617373776F72640101}
Has the Editor corrupted my file?
How can I fix the problem?
Please help me
Thanks a lot
Sil Editor problem
Hello,
We will fix this issue in the next version release. Please, modify the unit siComp.pas as follows:
In the
procedure TsiCustomLang.LoadExtendedFromFile(const FileName: Tstring; const CanRewrite: Boolean);
Before the line:
EI.PropertyType := TTypeKind(GetEnumValue(TypeInfo(TTypeKind), S1));
Add the line:
if AnsiPos(delim, S1) <> 0 then Delete(S1, AnsiPos(delim, S1), MaxWord); // 5.2.3
After that, re-build the package and load the translations from SIL file.
We will fix this issue in the next version release. Please, modify the unit siComp.pas as follows:
In the
procedure TsiCustomLang.LoadExtendedFromFile(const FileName: Tstring; const CanRewrite: Boolean);
Before the line:
EI.PropertyType := TTypeKind(GetEnumValue(TypeInfo(TTypeKind), S1));
Add the line:
if AnsiPos(delim, S1) <> 0 then Delete(S1, AnsiPos(delim, S1), MaxWord); // 5.2.3
After that, re-build the package and load the translations from SIL file.
Best regards,
Serghei Gaivan
Serghei Gaivan
Hello,
This will help to restore the corrupted files:
1. Open the corrupted .dfm file in a text editor, i.e., in Notepad.exe.
2. Select File|Replace..., and replace:
PropertyType =
with:
PropertyType = tkInteger
3. Press "Replace All".
4. Save the file.
After that the .dfm file could be opened in the IDE.
This will help to restore the corrupted files:
1. Open the corrupted .dfm file in a text editor, i.e., in Notepad.exe.
2. Select File|Replace..., and replace:
PropertyType =
with:
PropertyType = tkInteger
3. Press "Replace All".
4. Save the file.
After that the .dfm file could be opened in the IDE.
Best regards,
Serghei Gaivan
Serghei Gaivan