how to i fix this?
i have a variable 'IPAddress' which is a string which i would like to use as follows:
WinExec('mstsc /v ' + IPAddress + ' /f',sw_ShowNormal);
but i get the following error ---> Incompatible types: 'string' and 'PAnsiChar'.
I think i need to use a pointer or typecast but i think i feel asleep in the lecture at that stage!