Re: C program for QDFRTVFD API
Frank Kolmann <[email protected]>
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <CAB-SQvjDFZqMf6kBMXsJMpCL315_NLCBj0bMQT1=i7MHNdzaFQ@mail.gmail.com> |
Thanks Charles. I'll give it a go. It will all be the same program after binding and the retrieved API data wont disappear. Sometimes I cant see the forest for the trees. Frank >Subject: Re: C program for QDFRTVFD API >From: Charles Wilt <charles.wilt@xxxxxxxxx> > >Why not change from a C program to an ILE C module? > >You'd break your current main() into 2 parts, an init that does the malloc >and a close() that does the free. > >Charles -- 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.