In PB 10 and above you should be calling the W version:
Function boolean SendMessageString(...) Library "user32.dll" Alias For "SendMessageW"
or add ;Ansi:
Function boolean SendMessageString(...) Library "user32.dll" Alias For "SendMessageA;Ansi"
The ;Ansi method should be used primarily for functions that only come in Ansi flavors.