|
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@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx] 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@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.