Delphi 2009 is now fully unicode, so there is a problem with PChar & GFL
I think that PAnsiChar must be used, but in previous Delphi version??
Delphi 2009
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44325
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Delphi 2009
Pierre.
-
- Posts: 8
- Joined: Sat Mar 01, 2008 10:57 pm
- Location: stuttgart
Hello, at the moment I don’t have Delphi 2009 installed,
but I think with a small update you can solve the Delphi 2009 problem.
Go to the first type declarations in the LibGfl.pas and added this two lines:
Char = AnsiChar;
PChar = PAnsiChar;
This is not tested! But works with all Versions of Delphi.
Gruß gispos
but I think with a small update you can solve the Delphi 2009 problem.
Go to the first type declarations in the LibGfl.pas and added this two lines:
Char = AnsiChar;
PChar = PAnsiChar;
This is not tested! But works with all Versions of Delphi.
Code: Select all
type
//GPo 2008; Workaround Delphi 2009
Char = AnsiChar;
PChar= PAnsiChar;
GFL_INT8 = ShortInt;
GFL_UINT8 = Byte;
PGFL_UINT8 = ^GFL_UINT8; // IN!