hi guys,
please me with the pal 10 beta cannot send rich.rft (colored text) to pal 10 beta came up with
(rtf1ansideff0{fonttbl{f0fnilfcharset0 Microsoft Sans Serif;}……
Alert: (PS) ***** Your last text msg was not sent because it contained a reserved sequence of characters.)
it only work for rich.text. please help thanks 🙁
just remember when sending the length of string that it is 2 times longer than ansi strings + 1 for the null termination of the string..
MyAnsiString * 2 + 1 = length of Wide string
Yeps I getting the same error 🙂 I gonna start working on my programs next week so we can update together 🙂
yes correct I wrote description incorrect when I meant to be descibing size (4 bytes wide, 2 bytes ansi)
Length is not size, the length of ansi and wide strings are the same the size of wide string is double the size of ansi string, the null character is wide too.
So remark the send lines and see what is in the text edit box.
SendMessageW take a wide-string parameter not chars.
Just change the relevant API-Declarations from sendmessageA to sendmessageW.
e.g. Declare Function SendMessage Lib “user32” Alias “SendMessageW”…
I also found out, that a string now always needs a RTF-Formatting. If you send it just like that without formatting it shows only ??????.
I have the same error do help me?????
I’m getting the same error, i’m using autopilot’s method
i have figured out that the problem is it uses SendMessageA and it needs to use SendMessageW.
now i just need to figure out how to do that and i’ll be fine
well it working thank you