Also StrPCopy will take the contents of an existing PChar and put it in an 
AnsiString…
And sometimes I have regular pascal strings I want to pass to something as a 
Pchar, so then I do:
Pchar(AnsiString(mystring));
But lately I’ve been just making all strings AnsiStrings anyway.
 
 
James
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to