Page 1 of 1

Problems compiling sourcecode of Tsilang in Delphi 2009

Posted: Sat Feb 21, 2009 10:38 pm
by PStadler
Hello,

I recently installed Tsilang in Delphi 2006 and 2009. In 2006 everything is ok. :lol:
In 2009 I get the compilation errors in file sicomp.pas

[DCC Fehler] siComp.pas(11509): E2010 Inkompatible Typen: 'PBOOL' und 'Pointer'
[DCC Fehler] siComp.pas(11515): E2010 Inkompatible Typen: 'PBOOL' und 'Pointer'
[DCC Fataler Fehler] anotherproxy.pas(13): F2063 Verwendete Unit 'siComp.pas' kann nicht compiliert werden

in function WideStringToAnsiStringCP(const AWString: WideString; const cs: Byte):
AnsiString;


What is wrong with my installation? :oops:

Sincerely

Peter

Posted: Sun Feb 22, 2009 7:26 am
by isiticov
Hello Peter,

At first, please be sure you use the latest version of TsiLang.
Secondly, it looks like you have some special compiler option set in your project, because TsiLang itself compiled under Delphi 2009 as well as it is compiled on user's PCs.
When you install TsiLang you will also have installed compiled DCUs under CRS2009 sub-folder. So you can adjust your project (or Library) search path to include this folder and don't re-compile the TsiLang sources.
Please let us know if this helps.

Posted: Sun Feb 22, 2009 9:51 am
by PStadler
Hello,

My version is 6.4. The CRS2009 sub-folder is in the path. But file date
of sicomp.pas is 19.02.2009 17:20, of sicomp.dcu is 17.02.2009 17:17, so in all cases it must be rebuilt!

I did not change anything in the freshly installed settings
of Rad Studio 2009.

The compilation error persists!:cry:



Sincerely

Peter

Posted: Sun Feb 22, 2009 10:19 am
by isiticov
Hello,

Actually, the sicomp.dcu is dated 19.02.2009 17:17. But anyway, you can just exclude source's (sicomp.pas) folder from the library path. This will prevent re-building it.
Also you can try to build another project to see if the problem is reproducible.