MQOpenQueue Problem...


A

altag

Hi:

When I try to open a local private queue from a app on the same
machine... I'm getting : MQ_ERROR_ACCESS_DENIED


this is what the open looks like....
hr = MQOpenQueue(wszFormatName,
MQ_RECEIVE_ACCESS,
MQ_DENY_NONE,
&hQueue);


However, when I simply change the flag to MQ_SEND_ACCESS (the
following example) it opens successfully.... so I know it's not a
"naming format issue".....


hr = MQOpenQueue(wszFormatName,
MQ_SEND_ACCESS,
MQ_DENY_NONE,
&hQueue);


Note: This queue was not created via code... It was created via
Control Panel\Computer Management\Services and Applications\Message
Queing
as a local, private, non transactional queue with default
settings...
(windows xp (latest svc packs..)


I would appreciated another set of "experienced" eyes... Many thanks
in advance...
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top