How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? Ken Ray Sons of Thunder Software

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Trevor DeVore
On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Dave Cragg
On 8 Feb 2006, at 17:06, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread J. Landman Gay
Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? Does your cgi

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 11:58 AM, Trevor DeVore [EMAIL PROTECTED] wrote: On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack.

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 11:58 AM, Trevor DeVore [EMAIL PROTECTED] wrote: On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack.

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 12:12 PM, Ken Ray [EMAIL PROTECTED] wrote: Actually, I also found that if you ask for the environment you get command line... I think I'll use that instead... This should also be documented (which would help) - right now the docs for 'environment' don't mention command line... Ken

RE: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Thomas McCarthy
Ken, could you have the library check for something that would only return a value when running from a desktop? how about quicktime verstion, screenrec? tm ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Ken Ray
On 2/8/06 5:32 PM, Thomas McCarthy [EMAIL PROTECTED] wrote: Ken, could you have the library check for something that would only return a value when running from a desktop? how about quicktime verstion, screenrec? Thanks, Tom... you must have missed my post - it turns out that you can