SendMessageW function

is it possible that this function is different in windows 7 home with swedish language..because i can’t send text to paltalk room with this code on windows 7 home with swedish language

Dim iResult As Integer
iResult = SendMessageByString(iHnd, WM_SETTEXT, 0, "text")
iResult = SendMessageByString(iHnd, WM_KEYDOWN, VK_Return, 0)
iResult = SendMessageByString(iHnd, WM_KEYUP, VK_Return, 0)

any explanation ?

2 thoughts on “SendMessageW function

  1. @pharaon wrote:

    is it possible that this function is different in windows 7 home with swedish language..because i can’t send text to paltalk room with this code on windows 7 home with swedish language

    Use the debugger to see what the value you are getting for iHnd. My guess is that due to the swedish language setting, you may need to provide different window captions and/or classes to your function that gets the window handle.

    Using the debugger should help you find the problems, and then you can figure out a solution from there.

    Also, make sure that your SendMessageByString is aliased as SendMessageW and not SendMessageA

Leave a Reply

You must Register or Login to comment on SendMessageW function