|
Thanks. I was having problem understanding the ... After the parameter mode. That clears it up. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Lewis Sent: Monday, March 12, 2007 12:08 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: prototype for _RFILE *_Ropen(const char * filename, const char* mode, ...); On Mon, 12 Mar 2007 11:47:45 -0500 "Lim Hock-Chai" <Lim.Hock-Chai@xxxxxxxxxxxxxxx> wrote:
I need to call the C _Ropen function from RPG. Anybody has an example
on how to prototype this function?
From think400.dk:
D Ropen Pr * ExtProc( '_Ropen' ) D pRFile * Value Options( *String ) D pMode * Value Options( *String ) D pOptParm * Value Options( *String: *NoPass ) -- Brian Lewis http://www.i5sec.com/
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.