Message queue mq.h related errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Message queue mq.h related errors

jayshankar nair
Hi,

I am getting the following errors. Please let me know where i can get the correct mq.h header file.



C:\Documents and Settings\zaid>g++ mqtest.cpp
In file included from mqtest.cpp:6:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:386: error: expec
ted `;' before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:393: error: expec
ted `;' before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:400: error: expec
ted `;' before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:406: error: `MQPR
OPVARIANT' does not name a type
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:411: error: expec
ted `;' before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:418: error: expec
ted `;' before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:448: error: expec
ted `;' before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:476: error: `ITra
nsaction' was not declared in this scope
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:476: error: expec
ted primary-expression before ')' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:521: error: `ITra
nsaction' has not been declared
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mq.h:528: error: `ITra
nsaction' has not been declared
mqtest.cpp: In function `HRESULT CreateMSMQQueue(WCHAR*, _SECURITY_DESCRIPTOR*,
WCHAR*, DWORD*)':
mqtest.cpp:52: error: `MQ_MAX_Q_LABEL_LEN' undeclared (first use this function)
mqtest.cpp:52: error: (Each undeclared identifier is reported only once for each
 function it appears in.)
mqtest.cpp:55: error: `wszLabel' undeclared (first use this function)
mqtest.cpp:62: error: 'struct MQQUEUEPROPS' has no member named 'aPropVar'

Thanks,
Jay



     

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users