Problems compiling sourcecode of Tsilang in Delphi 2009

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
PStadler
Posts: 19
Joined: Fri Mar 02, 2007 10:34 am

Problems compiling sourcecode of Tsilang in Delphi 2009

Post 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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
PStadler
Posts: 19
Joined: Fri Mar 02, 2007 10:34 am

Post 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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Post Reply