Конференция "FreePascal" » Kol 2.0.9 and FPC 2.0.0
 
  • thaddy (16.06.05 11:21) [0]
    from kol 2.0.9 only one change is necessary to kol.pas to compile with FPC 2.0.0:

    procedure LogFileOutput( const filepath, str: String );
    var F: HFile;
    T:string;

    begin
    F := FileCreate( filepath, ofOpenWrite or ofOpenAlways );
    if F = INVALID_HANDLE_VALUE then Exit;
    FileSeek( F, 0, spEnd );
    T:=str+#13#10;// intermediate to solve cast problem with FPC
    FileWrite( F, Pchar(T)^ , Length(T));
    FileClose( F );
    end;

    You still need to choose PAS_VERSION in delphidef.inc.
    I have updated the documentation and the package on my website.
 
Конференция "FreePascal" » Kol 2.0.9 and FPC 2.0.0
Есть новые Нет новых   [119307   +54][b:0][p:0.001]