|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Search found 3 matches |
Author |
Message |
Topic: Null pointer error GETting messages from a queue in... VBA |
bathouin
Replies: 7 Views: 7188
|
Forum: General IBM MQ Support Posted: Mon Apr 02, 2007 10:46 am Subject: Null pointer error GETting messages from a queue in... VBA |
That's because you have your code to wait indefinitely, you should set a small wait interval, which if you do, you'll need to catch an exception thrown when there are no more messages in the queue. Or ... |
Topic: Null pointer error GETting messages from a queue in... VBA |
bathouin
Replies: 7 Views: 7188
|
Forum: General IBM MQ Support Posted: Mon Apr 02, 2007 10:20 am Subject: Null pointer error GETting messages from a queue in... VBA |
I think you need to initialize the mqmessage instance before trying to get it. Try:
Set qMsg = New MQMessage
Call GetQueue(q, qMsg)
YES, brilliant, it works.
HOWEVER, on the LA ... |
Topic: Null pointer error GETting messages from a queue in... VBA |
bathouin
Replies: 7 Views: 7188
|
Forum: General IBM MQ Support Posted: Mon Apr 02, 2007 9:34 am Subject: Null pointer error GETting messages from a queue in... VBA |
Hi
I'm trying to use MQ from a MS Access application. I worked long time ago with MQ under VMS, so I'm not new to the concept, but certainly to the details under Windows XP and VBA... I succeeded i ... |
|
|
|