|
An additional detail:The whole issue revolves around a communication buffer that is passed as a parameter to the RPG module from a C module. (The C module is the calling module; the RPG module is the called module.) While there are a few fields at the beginning of the structure, everything from the 21st byte on is just structureless bytes, into which an arbitrary number of communication records, which can be of a dozen or more different formats (each with a different length) are placed to return to the C program. (Any given buffer-load will contain records of only one format, though.)
So it's not a matter of allocating the memory; that's already being done in the calling program. The issue is accessing it. Somebody mentioned pointers; can anybody point me to some information on how that's done from RPG?
-- JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.