Forum Post: Re: How To Define Type Mqod When Calling Websphere Mq Api Function Mqopen

  • Thread starter Thread starter Garry Hall
  • Start date Start date
Status
Not open for further replies.
G

Garry Hall

Guest
The ABL supports only primitive types when calling into a shared object/DLL. Your MQOD parameter for MQOPEN would be a LONG/INT64 (depending on platform). Basically, a pointer is being passed (i.e. passing the object by reference), so you need to pass a datatype that can contain the entire pointer. You should look for a C/C++ sample instead of a VB sample.

Continue reading...
 
Status
Not open for further replies.
Back
Top