Hi All,
I have a requirement to send windows messages to a NT service. Also can I
create send a windows message without creating a (dummy) window within the
service?
Please give me your suggestions how I can proceed on this.
Thanks & Regards,
Parswanath Dhanadevan
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You can send messages for any thread without creating any windows.
Max
----- Original Message -----
From: “Parswanath_Dhanadevan”
To: “NT Developers Interest List”
Sent: Wednesday, November 21, 2001 8:32 PM
Subject: [ntdev] Sending windows messages to NT service…
> Hi All,
>
> I have a requirement to send windows messages to a NT service. Also can I
> create send a windows message without creating a (dummy) window within the
> service?
>
> Please give me your suggestions how I can proceed on this.
>
> Thanks & Regards,
> Parswanath Dhanadevan
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Your threads should have a wait - and you use MsgWaitForMultipleObjects API
call. Threads have a message loop. You can use GetMessage and PeekMessage
after the wait.
There’s good doc in the SDK on MsgWaitForMultipleObjects.
HTH
gap
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
In your thread, use MsgWaitForMultipleObjects. Each thread has a msg
queue
HTH - Greg
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com