HI all.
I have a Delphi 2007 application that I NEED to upgrade to Delphi XE 8 or
greater.
The problem is, I am having trouble converting the code due to the fact
that Embarcadero changed how "String" etc. is used when they added the
support for Unicode.
I have had a couple of cracks at the conversion and I am "close" on one
project but I am starting again because I want to make sure I am using the
right variable types and not guessing.
There is a bit of MD5 conversion going on and the different variable types
of course generated diff MD5 codes for the same string being converted and
it is a bit confusing :-)

The main variable types are:

String
Byte
Integer
LongInt
Pointer
Array of Char
PChar
Char

My understanding is the variables should now be :-

String = AnsiString?
Byte = Still Byte?
Integer = Still Integer
LongInt =Still LongInt
Pointer = Still Pointer
Array of Char = PAnsiCHAR ?
PChar = PAnsiChar?
Char = AnsiChar?

Am I correct with the above that I have highlighted in "Red" ??

Thanks, Jeremy
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to