Ive spent some time debugging a problem which came down to
#define MQGMO_DEFAULT {MQGMO_STRUC_ID_ARRAY},\
MQGMO_VERSION_1,\ (MQGMO_NO_WAIT+MQGMO_PROPERTIES_AS_Q_DEF),\
With MQGMO_VERSION_1 fields like MsgHandle are ignored, and I get a return code 2460 mqrc hmsg error.
(Ive raised a doc comment saying this rc is not documented for get - and to give the explanation)
Would it be better if it was
#define MQGMO_DEFAULT {MQGMO_STRUC_ID_ARRAY},\
MQGMO_CURRENT_VERSION ,\ (MQGMO_NO_WAIT+MQGMO_PROPERTIES_AS_Q_DEF),\
I know this might cause migration problems which would be hard to track down - but the current was not easy to debug
Similar for PMO etc.
regards
Colin
------------------------------
Colin Paice
------------------------------