RE: Oir reference
Scott Klement <[email protected]>
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <[email protected]> |
> Why the heck is RSLVDP not part of the C library? I no longer code MI but > use C's MI function and built-in instead. So call the MI builtin... the following should work. I don't know what practical purpose it solves, but it should work: #pragma linkage ( _RSLVDP1, builtin ) void _RSLVDP1( void **ptr ); #pragma linkage ( _RSLVDP2, builtin ) void _RSLVDP2( void **ptr, char *varname ); #pragma linkage ( _RSLVDP3, builtin ) void _RSLVDP3( void **ptr, char *varname, _SYSPTR *activtion); > I don't see RSLVDP anywhere including being exported from the various > *SRVPGM's where the rest of the MI set is exported. The stuff you see in the service program are wrappers of MI functions in an attempt to make them easy to call from C programs. They've created these wrappers for only a handful of MI instructions. They're not the actual MI instructions themselves. Any MI instruction that says it has "bound program access" can be called directly as a builtin, but it won't be listed as exported from the service program. MI instructions aren't routines in an ILE service program :) _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.