Can I ask why you would rather use a string in this case and not a PChar or PWideChar?