× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott,

Thanks for your response. I guess what I'm looking for is an example of
the exact contents of the "Environment string" that someone has used
successfully. I believe I have it coded correctly and it does not fail or
issue an error code in the API, but the called program that follows does
not retrieve the correct query string when it issues a QtmhGetEnv.

Rich

--------------------------------------------------------------------------

Scott Klement wrote:

You could use QtmhPutEnv() for that.

However, I would suggest using the regular putenv() API. It does
exactly the same thing, but is much easier to code, IMHO.

Alternately, you could just use the ADDENVVAR/CHGENVVAR CL Commands.


Rich Loeber wrote:


Does anyone have experience with this procedure? Can I use it to reset
the QUERY_STRING in effect before issuing a direct CALL to a program that
then uses the QtmhGetEnv to retrieve the value. Sometimes I want to call
the program from a link using the query string but I also have a situation
where I'd like to call it directly.

Rich Loeber
Kisco Information Systems
http://www.kisco.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.