SendMessage Aplication beetween switch xp users (VC++ 6.0)

M

Maulik Patel

Hello Friends,

I am trying to create one vc++ 6.0 application.

In which i have to create two application.

First application is server.
second is client.

server is running on admin user,and sending message to client.
client is getting the text sent by the admin.
client is login in different user in same computer.


########### code use in admin application #############

DWORD dwApp = BSM_ALLDESKTOPS|BSM_APPLICATIONS

BroadcastSystemMessage(BSF_POSTMESSAGE,&dwApp,UWM_SEND,0,(LPARAM)sSend.GetAt(i))

########################################################

Now i am trying that same thing using MailSlots,
But not succeeded Yet.
So please help me.

Any guys have any idea.

Thanks in advance.
 
S

Silvia Doomra [MSFT]

Please try posting on C++ forum.

This issue is not related to RDS and we discuss only RDS related queries
here.

Thanks
Silvia

"Maulik Patel" wrote in message
news:2E7B96BB-BE7A-4FEE-9994-E26780D8A0EC@microsoft.com...
> Hello Friends,
>
> I am trying to create one vc++ 6.0 application.
>
> In which i have to create two application.
>
> First application is server.
> second is client.
>
> server is running on admin user,and sending message to client.
> client is getting the text sent by the admin.
> client is login in different user in same computer.
>
>
> ########### code use in admin application #############
>
> DWORD dwApp = BSM_ALLDESKTOPS|BSM_APPLICATIONS
>
> BroadcastSystemMessage(BSF_POSTMESSAGE,&dwApp,UWM_SEND,0,(LPARAM)sSend.GetAt(i))
>
> ########################################################
>
> Now i am trying that same thing using MailSlots,
> But not succeeded Yet.
> So please help me.
>
> Any guys have any idea.
>
> Thanks in advance.
 
Back
Top Bottom