|
Is it possible to use a pointer as a parameter when calling another program?
The program call has to be made up dynamically and executed using qcmdexec
or system API…
Program B gets invoked and need a mechanism to send back information to
program A.
Just to hide the complexity of the datastructure in program A my thought was to create a service program ( program C ) with procedures
that can be called by program B. It then seems reasonably that a
pointer must be used to “connect” the procedures in pgm C with the
datastructure in pgm A. Along the run it might be needed for program
C to change pointers in pgm A datastructure ( realloc of memory ).
Am I out on very thin ice here? Better solutions?
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.