× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks for the suggestions I've received so far. My research on the subject was interrupted by other projects, but I'm back on this.

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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.