|
On Mon, 17 May 2004, James H H Lampert wrote: > I've got a problem with ILE RPG calling a procedure in ILE C. It seems > that the return value (a character string of 4096 bytes) is being set > properly in the C code (according to the dreaded ILE debugger), but it > arrives completely blank in RPG (also according to the debugger). Is there > something I need to do in the prototype for the procedure, so that RPG can > find the return value? C doesn't return strings, it returns pointers to strings. Your RPG program needs to use the pointer. James Rich Vs lbh guvax bs argjbex frphevgl nf na vzzhar flfgrz, Jvaqbjf vf UVI. -- Wbr Cyhgn
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.