- This topic has 10 replies, 7 voices, and was last updated 12 years ago by
Locohacker.
-
AuthorPosts
-
December 23, 2010 at 8:23 am #187091
jimmyng
Memberhi 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 🙁
December 23, 2010 at 2:10 pm #187101Locohacker
AdministratorYeps I getting the same error 🙂 I gonna start working on my programs next week so we can update together 🙂
December 23, 2010 at 7:03 pm #187100Chike
MemberSo remark the send lines and see what is in the text edit box.
December 24, 2010 at 7:48 am #187099Randomguy
MemberI’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
December 24, 2010 at 10:27 am #187098getstart
MemberI have the same error do help me?????
December 25, 2010 at 1:21 pm #187097Gammablitz
MemberJust 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 ??????.
December 25, 2010 at 4:28 pm #187096Chike
MemberSendMessageW take a wide-string parameter not chars.
December 27, 2010 at 2:48 am #187095Departure
Memberjust 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
December 27, 2010 at 10:01 am #187094Chike
MemberLength 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.
December 27, 2010 at 11:24 am #187093Departure
Memberyes correct I wrote description incorrect when I meant to be descibing size (4 bytes wide, 2 bytes ansi)
April 14, 2011 at 1:17 pm #187092getstart
Memberwell it working thank you
-
AuthorPosts
Related
- You must be logged in to reply to this topic.