Hello Listers.

Can someone help me figure out what is happening? The problem:
we built a COM+ component using the MQ COM interface. I can Get (after
PUTting) messages from queues without problems, as long as I code the
Get method as:

Queue->Get(MsgObj, GMOObj);

When I try to use the maximum message length as third parameter in the Get:

Queue->Get(MsgObj, GMOObj, Length);

I get 2043 - MQRC_OBJECT_TYPE_ERROR.

It seems that just because I added this parameter the Get method tries
to open a 'new' queue or whatever. I cannot figure out what this error
code is really trying to tell me...

Thanks in advance for your help.

Heinz Klein
OLTP Tecnologia & Solucoes Ltda.
Sao Paulo/SP - Brasil

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to