I am working with another developer team and they have a code writen in Delphi 7 that doesn't work because of the functionality of TStringStream. So they ask me for help with this but I'm using Delphi xe2.
Is there any way to change the compiler options in my Delphi xe2 IDE and see the behavior of the code in Delphi 7?
TAnsiStringStreamto be used with legacy projects.TStringStreamis derived fromTBytesStream, which is derived fromTMemoryStream. ThereLoadFromFileis implemented. You can easily backportTMemoryStream.LoadFromFileandTMemoryStream.LoadFromStreamintoTAnsiStringStream.