My idea was to make the whole application a library compiled in PASE (which should be much easier than to compile it with the ILE C compiler) and make some interface for RPG. Though of this technique I know exactly nothing. So my best bet is to stay with the ILE C compiler and hopefully one day get a nice little service program.
Von: c400-l-bounces+mihael.schmidt=rossmann.de@xxxxxxxxxxxx [mailto:c400-l-bounces+mihael.schmidt=rossmann.de@xxxxxxxxxxxx] Im Auftrag von Scott Klement
Gesendet: Freitag, 12. Juni 2009 22:08
An: C programming iSeries / AS400
Betreff: Re: [C400-L] fork() in ILE C
Is it possible to call a function from a C library which has been
compiled for PASE from ILE C?
Yes and no.
Yes, it's possible to call a C function that has been compiled for AIX
and is running in PASE. You have to write code that translates to/from
ASCII as necessary, and you have to convert between ILE pointers and AIX
pointers and copy the data back and forth between them...
But, calling the PASE fork() function won't do you much good. I'll fork
a new function on the PASE side, but it won't cause your ILE program to