Difference between revisions of "User talk:AndrewH"

From Lazarus wiki
(zlibar problem & fix)
m (Text replace - "delphi>" to "syntaxhighlight>")
Line 7: Line 7:
 
I've looked in the Sourceforge CCR SVN but can't seem to find the zlibar sources, therefore I'm trying to reach you this way:
 
I've looked in the Sourceforge CCR SVN but can't seem to find the zlibar sources, therefore I'm trying to reach you this way:
 
Fix for zlibar.pas lines 516-520 (old code commented):
 
Fix for zlibar.pas lines 516-520 (old code commented):
<delphi>
+
<syntaxhighlight>
 
     //fStream.Read(Header,SizeOf(TZlibArchiveHeader));
 
     //fStream.Read(Header,SizeOf(TZlibArchiveHeader));
 
     fStream.Read(FHeader,SizeOf(TZlibArchiveHeader));
 
     fStream.Read(FHeader,SizeOf(TZlibArchiveHeader));
Line 18: Line 18:
 
     //Header.TOCLength := LEtoN(Header.TOCLength);
 
     //Header.TOCLength := LEtoN(Header.TOCLength);
 
     FHeader.TOCLength := LEtoN(Header.TOCLength);
 
     FHeader.TOCLength := LEtoN(Header.TOCLength);
</delphi>
+
</syntaxhighlight>
 
If you need any more info please let me know,
 
If you need any more info please let me know,
  

Revision as of 16:20, 24 March 2012

zlibar problem November 2011

Hi Andrew,

Some users on the forum have problems with compiling zlibar, e.g. [1] .

I've looked in the Sourceforge CCR SVN but can't seem to find the zlibar sources, therefore I'm trying to reach you this way: Fix for zlibar.pas lines 516-520 (old code commented):

    //fStream.Read(Header,SizeOf(TZlibArchiveHeader));
    fStream.Read(FHeader,SizeOf(TZlibArchiveHeader));
    //Header.MajorVersion := LEtoN(Header.MajorVersion);
    FHeader.MajorVersion := LEtoN(Header.MajorVersion);
    //Header.MinorVersion := LEtoN(Header.MinorVersion);
    FHeader.MinorVersion := LEtoN(Header.MinorVersion);
    //Header.MicroVersion := LetoN(Header.MicroVersion);
    FHeader.MicroVersion := LetoN(Header.MicroVersion);
    //Header.TOCLength := LEtoN(Header.TOCLength);
    FHeader.TOCLength := LEtoN(Header.TOCLength);

If you need any more info please let me know,

thanks

--BigChimp 07:00, 27 November 2011 (CET)