problem with SendMessageA

Viewing 1 post (of 1 total)
  • Author
  • #65912

    I’m using this code to get pal room text

    I’m using vs2013 and nerframework 4

    the problem is it’s some times retrieve the text and other times not I tried to breakpoint so every thing go fine but still some times it retrieve text after I breakpoint and sometimes when I restart the application it just retrieve empty string “”

    what could cause that issue and how to fix


    Declare Function SendMessageA Lib "USER32" Alias "SendMessageA" (ByVal hwnd As IntPtr, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As StringBuilder) As Integer
    Call SendMessageA(hwnd, EM_GETLINE, (iLastLine - 2), strBuffer)


Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.