|
Phil found the problem - passing a pointer to a pointer. The reason I want to pass a pointer is becuase now one can MD5 any data passed to it. One could pass a record format and get a fingerprint of the whole record, or a data structure, etc, without being constrained to (RPG's) character limits. I agree for most cases, one would only want to MD5 character data, but a little more effort makes the subprocedure much more useful. Loyd -----Original Message----- From: Nathan M. Andelin [mailto:nandelin@relational-data.com] Sent: Thursday, November 29, 2001 9:18 AM To: midrange-l@midrange.com Subject: Re: Pointer question (long) Lloyd, Something about the convert() procedure seems odd to me. It appears to be trying to reference the address of a pointer. That may not be the cause of your error. I'm not sure. I'd suggest redefining the interface to your MD5 procedure to pass a variable length string, rather than a pointer and a length. Nathan M. Andelin www.relational-data.com
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.