× 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.



On 11-May-2014 20:53 -0500, Booth Martin wrote:
On 5/11/2014 3:26 PM, Booth Martin wrote:
How do I find the name of the calling program? I have a program
called from several different programs. Is there a way to retrieve
the name of the calling program within the called program?

Thank you for the replies. Worked great, saved a bundle of time
and a enforced some good practices.


Having mentioned "good practices", consider, that if that question of "Who called?" is asked, then perhaps there is a problem with the code. Code [with few exceptions] should make decisions based only upon the inputs provided from the caller, not based upon who\what had invoked the code.


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.