🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Toma� Wed, 27 Feb 2008 09:52
MSMQ and C++ builder
#705
Author: Toma�
Date: Wed, 27 Feb 2008 09:52
7 lines
1074 bytes
I'm trying to find an example code for using MSMQ for Builder 5 or 6. Can 
anyone help me, please ?


Regards.

Toma� 
Re: MSMQ and C++ builder
#570
Author: Darko Miletic
Date: Wed, 27 Feb 2008 19:33
25 lines
1897 bytes
Toma� wrote:
> I'm trying to find an example code for using MSMQ for Builder 5 or 6. Can 
> anyone help me, please ?
> 

All the samples are generaly available as part of MSDN documentation. 
What you need is just set of header files and lib files for borland and 
these are already included with both BCB5 and BCB6.

To use MSMQ API you just need to add this header:

#include <windows.h>
#include <mq.h>
#pragma comment(lib,"mqrt.lib")

Here is doc location:

Writing a Message Queuing Application using C/C++
http://msdn2.microsoft.com/en-us/library/ms707133(VS.85).aspx

Using Message Queuing
http://msdn2.microsoft.com/en-us/library/ms705205(VS.85).aspx

Message Queuing Reference
http://msdn2.microsoft.com/en-us/library/ms700112%28VS.85%29.aspx
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads