Hallo Peter,
string concatenation machst du doch schon selbst:
Delphi-Quellcode:
begin
if (Application.MessageBox(PChar('You must disconnect from ' + HostName
+ ' before opening another connection.' + sLineBreak
+ 'Do you want to disconnect?'),
// ...
Grüße vom marabu