Re: Calling RPGILE program from C++
Jevgeni Astanovski <[email protected]>
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <CAJuVQr3eE+j8KRPcE0vicjUz7gRjv77th028gRhsoDXmfYniKw@mail.gmail.com> |
Thanks, Aaron, you made my day! Jevgeni. On Fri, Dec 19, 2014 at 4:38 PM, Aaron Albertson <albertaa-r/[email protected]> wrote: > > Hi Jevgeni, > > Since you are calling a program object you want to use 'extern "OS"' > instead of 'extern "RPG"'. It doesn't matter what language a program > object is written in, the calling convention for a program call is always > 'extern "OS"'. 'extern "RPG"' is for calling a service program entry point > or an export from a module that is bound into your program. > > Thanks, > > Aaron Albertson > CUBE-3 WCode/NMI translator development, > OX Translator Development, and MI Architecture owner > Dept. 47W 030-2/E102, IBM Rochester, MN 55901 > albertaa-r/[email protected] > (507) 253-5173, T/L 8-553-5173 > > > > -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/c400-l or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/c400-l.