Topic
  • 1 reply
  • Latest Post - ‏2012-12-30T07:48:40Z by fjb_saper
SystemAdmin
SystemAdmin
8523 Posts

Pinned topic MQ client to work in 64-bit OS windows.

‏2012-12-21T01:33:01Z |
Having trouble with Ibm mq to load it in 64-bit windows machines.

Dim objMQ As Object
objMQ=CreateObject("MQAX200.MQSession")

I get

"Cannot create ActiveX component."

in 64-bit machines and it works fine in 32-bit machines OS.

My question is how do i alter the above piece of code to work in 64-bit OS?

I tried to use this way

objMQ=CreateObject(MQSession)

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at IBM.WMQ.Nmqi.NativeManager.InitializeNativeApis(String mode)
Updated on 2012-12-30T07:48:40Z at 2012-12-30T07:48:40Z by fjb_saper
  • fjb_saper
    fjb_saper
    175 Posts

    Re: MQ client to work in 64-bit OS windows.

    ‏2012-12-30T07:48:40Z  
    Working as designed?
    You should be using VB.Net... and the .Net classes for WMQ.