Solved

Thread Message Queue implementation in Windows?

Posted on 2011-03-07
4
829 Views
Last Modified: 2012-05-11
Experts,

I have requirement like, i need to collect the data in one thread and pass on the data to another thread.

I am planning to use messaque queues supported  my windows.
Can i get info on how to use messagequeues for the above requirement?

I found below links for sending /receiving thru messagequeues:
http://msdn.microsoft.com/en-us/library/ms644946(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms644936(v=VS.85).aspx

Iam i referring the right APIs? Here i am not posting to windows(NO MFC, its thread to thread message queue what i need)
0
Comment
Question by:srimallikarthik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 13

Accepted Solution

by:
agarwalrahul earned 500 total points
ID: 35073806
Windows doesn't create message queues by default for all the threads. It creates them for only those threads, which require them.
you need to create message loops to effcetively transfer messages between processes.

This should give you a fair idea of using mesasge queues:
http://msdn.microsoft.com/en-us/library/ms644928(v=vs.85).aspx
0
 

Author Comment

by:srimallikarthik
ID: 35292904
Hi,

Sorry for the delayed comments,

agarwalrahul's comment was useful, we can close this quetions



0
 
LVL 53

Expert Comment

by:Dhaest
ID: 35321697
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of useful business intelligence software.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question