I hit send by accident on a message a few minutes ago.
My partner who wrote this code is deceased. I'm able to fix/change most
normal user application level stuff in C with some struggling, but some
of the lower level tool type functions he wrote are confusing to me.
Fortunately there hasn't been much that needs changing because this C
code is all server stuff and 95% of the application is client stuff that
I wrote in RPG. I do use APIs in RPG but then I'm doing so with an
understanding of what I need going in. This I don't understand.
Could you please suggest a change to this code which replaces that which
you view as no longer able to work. I've removed the reference to
PC_DOS. I'll be doing this at V4R5.
Thank you for your enlightenment so far and for anything you might
further suggest.
/********************************************************************
* Program.....: GETINVAR
* Date........: August 1993
* Copyright...: Copyright (c) 1993 Access Paths Inc
* Version.....: ILE C/400, Watcom C/C++
* Modified....:
* Description.:
*
* This program reads the *LIBL/TRECSINI User Space or or
%path%\TRECS.INI,
* looks up the variable name passed, and returns the value assigned to
the
* variable as a NULL terminated string.
*
* Parameters passed are 1. INI user space name defaults to
*LIBL/TRECSINI
* 2. Variable name
* 3. Variable value returned to caller
#if defined(AS400)
* 4. (optional) length of target area
#endif
********************************************************************/
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.