Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 2504

Delphi 7 to 10.2 32 win target proj

$
0
0

Hello, What steps do I have to do, in order to convert a Delphi 7 win32 to a 10.2 win 32 after using the convert and renaming new project option, also dealing with win 32 created files?. PI; Also already made this code change; From; function TrmHeader.GetSignature: ShortString;var PChars : array [0..3] of char;begin  Result := '';  if assigned (FileStream) then  begin    FileStream.Seek(7-1,soFromBeginning);    FileStream.Read(PChars,4);    Result := PChars;  end;end; TO; function TrmHeader.GetSignature: ShortString;var PChars : array [0..3] of char;var buf_ptr: PChar;begin  Result := '';  if assigned (FileStream) then  begin    FileStream.Seek(7-1,soFromBeginning);    FileStream.Read(PChars,4);    buf_ptr:= @PChars;    Result := buf_ptr;  end;end; Being still win32 the target, the Variable types are the same size ( I believe so) , unless you advice me different. appreciate your help.


Viewing all articles
Browse latest Browse all 2504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>