Building an MSMQ Application with the MSMQ Library API

Before you can get started writing your first MSMQ application, you need to get a handle on the native MSMQ build environment. The previous chapter discussed setting up MSMQ and administering queues manually. The next step is to get the programmatic perspective on the same chores.

Setting up a middleware development environment can be a trying affair. One of the things that I really enjoy about developing in the Microsoft world is the absence of this concern. The only thing necessary to develop MSMQ applications is to install Visual C++, Version 6 (or a more recent version).

In order to compile applications with MSMQ, you'll need to include the MSMQ header, MQ.H, in your source. You'll also ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.