Hi Charles
I am not sure is this a bug or some sort of random generated sign
'print args...if is empty then compiler trow F ???
SendMessage edit1,WM_SETTEXT,0,strPtr args
As you see if string args is empty then compiler add sign F to control.
if is filled with string everything works normal..
Do you can confirm this ?
all best..
Aurel