|
withinOn 2012/10/4 2:57 PM, Hiebert, Chris wrote:
Old programs continue to function because they reference a specific
signature from an older (*prv) export group that is still found
a service program. The older signature doesn't keep its own ordering.the Exported signatures.Chris, that won't work. There's only one ordering for the procedures in
If you must change the order, then you must also ensure that oldprograms will _not_ continue to function, but instead get a signature
violation, since they would be calling the wrong procedure.
Here's a little test scenario: http://code.midrange.com/9043c56f42.html
--
Barbara
Based on what Barbara is saying this means you can never reorder the
list of procedures. And every procedure in a *PRV list must always
correspond to a matching procedure in the *CURRENT list.
If you reorder, and you don't want to have issues, you have to recompile
everything.
Will removing the old signature always cause a signature violation for
existing programs?
Chris Hiebert
Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the
author and do not necessarily represent those of the company.
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.