Share via


Writing Application Examples

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Message Queuing applications can be written in several different languages. However, regardless of which development platform is used, the Message Queuing application typically needs to perform the following tasks

  • Reference a queue by creating a new destination queue or locating an existing destination queue

  • Open the destination queue to send or read messages (MSMQ 3.0 provides functionality for sending messages to multiple destination queues).

  • Send or read the message.

The following illustration shows the tasks that are typically performed by sending or receiving application (use the links provided in this illustration to go directly to examples of these tasks). Applications that send messages are typically referred to as sending applications and applications that read messages are typically referred to as receiving applications (note that this does not imply that a single application cannot send and receive messages).

<No Change>

Language Specific Information

The following topics provide more detail on what is needed to write a Message Queuing application in C++, C++/COM, and Microsoft® Visual Basic®.

For information on See
Header files, libraries, structures and calls commonly used to send and read messages in C/C++ applications. Writing a Message Queuing Application using C/C++
DLLs, objects, and method calls commonly used to send and read messages in COM applications using C++. Writing a Message Queuing COM Application using C++
Object libraries, objects, and methods commonly used to send and read messages in Microsoft Visual Basic applications Writing a Message Queuing Application using Visual Basic