Thanks for the input.
For better or worse, I now put ExtProc(*CL) on every exported service program procedure that has a 1 byte return value so I don't run into this issue again.
-Kurt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Friday, November 06, 2009 4:04 PM
To: RPG programming on the IBM i / System i
Subject: Re: SrvPgm Procedure Prototype change - update program?
Kurt Anderson wrote:
I recently had to change a service program Prototype to use
EXTPROC(*CL). Without recompiling all of the programs that use this
service program (and most of them use the procedure in question), is
there a way to update the programs?
I'm 99% sure that, if you change the prototype in that way, you'll have to recompile the programs that use it. You're changing the calling convention for the procedure.
If you were just adding optional parameters, you wouldn't have to recompile the programs that call it.
david
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.