Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work in delphi 10.3 #2

Closed
ghost opened this issue Aug 12, 2019 · 5 comments
Closed

does not work in delphi 10.3 #2

ghost opened this issue Aug 12, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2019

does not work in delphi 10.3 community :(

@vtereshkov
Copy link
Owner

vtereshkov commented Aug 12, 2019

I tested it with Delphi 6/7. What is going wrong? A compile-time or a runtime error? Could you please provide more details? Did you try it with Free Pascal?

@ghost
Copy link
Author

ghost commented Aug 12, 2019

unicode

@ghost
Copy link
Author

ghost commented Aug 12, 2019

String and Char is unicode, not ansi

@vtereshkov
Copy link
Owner

Our thanks to Embarcadero for breaking up the backward compatibility.

@vtereshkov
Copy link
Owner

To build XD Pascal with Delphi 2009+, just replace (in Commom.pas):

  TCharacter = Char;
  PCharacter = PChar;
  TString = string;  
  TShortString = string;

with

  TCharacter = AnsiChar;
  PCharacter = PAnsiChar;
  TString = AnsiString;  
  TShortString = ShortString;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant