|
>> 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?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.