RE: Oir reference
"Bob Cozzi" <[email protected]>
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <001401c5ccda$0750a670$6601a8c0@LONGSHADOW> |
Still won't bind. I'm trying this on V4R5 and will have V5R1 on in the next few day (I hope) and then we're going to V5R3 in a few weeks. I'll try it again then. Thanks Scott. -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected] [mailto:mi400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]] On Behalf Of Scott Klement Sent: Friday, October 07, 2005 11:21 AM To: MI Programming on the AS400 / iSeries Subject: RE: [MI400] Oir reference > 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. _______________________________________________ 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.