|
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.
Regards
Mihael
-----Ursprüngliche Nachricht-----
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
Hello Mihael,
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 be forked.
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.