|
Larry, even though C is asking for pointers, remember that RPG passes by reference automatically. The net effect is that you simply define these as very long character fields, and just pass the variable references normally. There's a guide (Written by Barbara Morris) that covers some of the quirks of converting C prototypes to RPG...
http://www.opensource400.org/callc.html
D VprtXML PR EXTPROC('VprtXML')
D pConn * value
D pSession *
D pXmlBuf 65500a options(*varsize)
D pXmlResult 65500a options(*varsize)
D pResultSize 10I 0
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.