ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Uncompilable in Delphi 2010 #470

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[DCC Error] dwsXPlatform.pas(693): E2034 Too many actual parameters
[DCC Error] dwsXPlatform.pas(694): E2003 Undeclared identifier: 'CodePage'
[DCC Warning] dwsXPlatform.pas(694): W1021 Comparison always evaluates to False
[DCC Fatal Error] dwsFunctions.pas(28): F2063 Could not compile used unit 
'dwsXPlatform.pas'
Failed

Original issue reported on code.google.com by kazantse...@mail.ru on 27 May 2014 at 7:39

GoogleCodeExporter commented 8 years ago
I don't have D2010 anymore, what overloads are available in D2010 that would 
allow specifying the default encoding?

Original comment by zar...@gmail.com on 4 Jun 2014 at 7:22

GoogleCodeExporter commented 8 years ago
Delphi 2010 has only one method for this:
class function GetBufferEncoding(const Buffer: TBytes; var AEncoding: 
TEncoding): Integer; static;

Original comment by kazantse...@mail.ru on 4 Jun 2014 at 1:00

GoogleCodeExporter commented 8 years ago
Patch for compatibility with D2010 and fix small bug with preamble

Original comment by kazantse...@mail.ru on 8 Jun 2014 at 11:50

Attachments:

GoogleCodeExporter commented 8 years ago
Up. What about my patch?

Original comment by kazantse...@mail.ru on 6 Mar 2015 at 4:30

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r2680.

Original comment by zar...@gmail.com on 9 Mar 2015 at 1:20