Sending messages in server

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
sainath
Level 2
Level 2
Posts: 18
Joined: Tue Sep 30, 2008 1:16 am

Sending messages in server

Post by sainath »

We use SendMessageW for sending messages to windows.Is it possible to send messages to windows while in server?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Sending messages in server

Post by vitamin »

sainath wrote:Is it possible to send messages to windows while in server?
Huh what? What server? You can't send any windows messages from/to outside of Wine if that's what you mean.
sainath
Level 2
Level 2
Posts: 18
Joined: Tue Sep 30, 2008 1:16 am

Post by sainath »

Sry for not asking the question clearly
Server means wine server.
When we go to server to handle request,is it possible to send messages to window, like we do using SendMessageW().
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

sainath wrote:Sry for not asking the question clearly
Server means wine server.
When we go to server to handle request,is it possible to send messages to window, like we do using SendMessageW().
No, you can't use SendMessage (or it's wineserver equivalent).

At best you can post a message into required thread's queue. This means you won't get result back. See post_message() function.
Locked