|
I can't figure out how set up the RPG code to use pointers to read then update a user space. I'd like to use pointers and NOT the user space APIs to actually perform the read and write.
The scenario is that a calling program, through a passed parameter structure, gives the name of and positions in the user space. Since the program would be called many times, resolving to the user space could be done on the first call, however I don't know how to do that "resolving", nor can I figure out the D specs required to point at (using pointers) the user space.
This seems like it should simple but I can't find enough of the pieces of examples in one place to be able to put any code together. Does anyone have any suggested code?
Steve Moland
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.