Skip to content

send text to pal 10 beta

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #187091
    jimmyng
    Member

    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 🙁

    #187101
    Admin
    Administrator

    Yeps I getting the same error 🙂 I gonna start working on my programs next week so we can update together 🙂

    #187100
    Chike
    Member

    So remark the send lines and see what is in the text edit box.

    #187099
    Randomguy
    Member

    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

    #187098
    getstart
    Member

    I have the same error do help me?????

    #187097
    Gammablitz
    Member

    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 ??????.

    #187096
    Chike
    Member

    SendMessageW take a wide-string parameter not chars.

    #187095
    Departure
    Member

    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

    #187094
    Chike
    Member

    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.

    #187093
    Departure
    Member

    yes correct I wrote description incorrect when I meant to be descibing size (4 bytes wide, 2 bytes ansi)

    #187092
    getstart
    Member

    well it working thank you

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.