Jump to content
Sign in to follow this  
Blavatsky

MIGRATING PHOTOBOOK TO DELPHI ALEXANDRIA FROM 2014

Recommended Posts

HELLO,
HERE IS ANOTHER PROJECT

https://gitlab.com/liuhouer/PhotoBook


THAT WOULD BE NICE IF IT RAN ON DELPHI ALEXANDRIA

IT HAS 3 ERRORS ON COMPILE

###################################################################################

function DeflateInit2_(ZState: TZState; Level: Integer; imMethod: Byte; AWindowBits: Integer; MemLevel:
  Integer; Strategy: Integer; const Version: String; StreamSize: Integer): Integer;

// initializes the hash table (Previous[] will be initialized on the fly)

var
  S: PDeflateState;
  NoHeader: Integer;
  Overlay: PWordArray;

  // We overlay PendingBuffer and DistanceBuffer + LiteralBuffer. This works since the average
  // output size for (length, distance) codes is <= 24 Bits.

begin
  NoHeader := 0;
  if (Version  =  '') or (Version[1] <> ZLIB_VERSION[1] ) or (StreamSize <> SizeOf(ZState)) then
###################################################################################


ERROR MESSAGE
[dcc32 Error] MZLib.pas(2004): E2015 Operator not applicable to this operand type


ANY HELP IS APPRECIATED

RICHARD_C

Share this post


Link to post
9 hours ago, Blavatsky said:

THAT WOULD BE NICE IF IT RAN ON DELPHI ALEXANDRIA

So make the necessary changes. Or hire a programmer. 

Share this post


Link to post

I remmed out some code and it compiled

SUE ME

have a nice day

to all the 'Bruce Lee' Programmers... the real ones that do like to help others...

Share this post


Link to post
5 hours ago, Blavatsky said:

I remmed out some code and it compiled


If you comment out all of the code then the library will compile. And we all know that once a piece of code compiles, the job of the programmer is done. 

  • Haha 3

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×