- This topic has 10 replies, 7 voices, and was last updated 13 years ago by Admin.
-
AuthorPosts
-
December 23, 2010 at 8:23 am #187091jimmyngMember
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 🙁
December 23, 2010 at 2:10 pm #187101AdminAdministratorYeps 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 #187100ChikeMemberSo remark the send lines and see what is in the text edit box.
December 24, 2010 at 7:48 am #187099RandomguyMemberI’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 #187098getstartMemberI have the same error do help me?????
December 25, 2010 at 1:21 pm #187097GammablitzMemberJust 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 #187096ChikeMemberSendMessageW take a wide-string parameter not chars.
December 27, 2010 at 2:48 am #187095DepartureMemberjust 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 #187094ChikeMemberLength 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 #187093DepartureMemberyes 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 #187092getstartMemberwell it working thank you
-
AuthorPosts
Related
- You must be logged in to reply to this topic.