>> Is the RSLVDP (resolve data pointer) MI instruction only
>> available via MI?  I can't seem to get a C module to bind
>> when I call this MI instruction. The manuals seem to show
>> it in all upper case, but there don't seem to be any
>> prototypes in QSYSINC so I created my own.  I also don't
>> see it exported in the MI service program.

You need a 1, 2, or 3 at the end of the builtin name.

     D RSLVDP1         PR                  extproc( '_RSLVDP1' )
     D   DataPointer                   *

     D RSLVDP2         PR                  extproc( '_RSLVDP2' )
     D   DataPointer                   *
     D   VariableName                32A   const

     D RSLVDP3         PR                  extproc( '_RSLVDP3' )
     D   DataPointer                   *
     D   VariableName                32A   const
     D   PgmSysPtr                     *   const

But this begs the question: other than resolving, how do you use a data
pointer in an ILE program?

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].