Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Accessing environment variables

0 views
Skip to first unread message

Ian Harder

unread,
Nov 17, 1995, 3:00:00 AM11/17/95
to
I've been looking for an equivalent to C's getenv() function to
access environment variables, but there doesn't seem to be anything
like it in Delphi. Does anybody know of some equivalent, or will I
need to roll my own?

Thanks,
Ian Harder

======================================================================
| Harder Software Ltd. | Telephone 604.730.4827 |
| #101 - 2148 West 2nd Avenue | Facsimile 604.730.4826 |
| Vancouver, BC, V6K 1H6, Canada | Internet ia...@hardersoft.com |
======================================================================

Ed Salgado

unread,
Nov 18, 1995, 3:00:00 AM11/18/95
to ia...@hardersoft.com
Ian <ia...@hardersoft.com>,

>I've been looking for an equivalent to C's getenv() function to
>access environment variables, but there doesn't seem to be anything
>like it in Delphi. Does anybody know of some equivalent, or will I
>need to roll my own?

There is a freeware file called DOSVALUE.ZIP that does what you need.
Should be on the Delphi Super Page:

http://sunsite.icm.edu.pl/~robert/delphi/

Good Luck,

-Ed Salgado
Eminent Domain Software


Harald E. Martin

unread,
Nov 19, 1995, 3:00:00 AM11/19/95
to
Ian Harder <ia...@hardersoft.com> wrote:

>I've been looking for an equivalent to C's getenv() function to
>access environment variables, but there doesn't seem to be anything
>like it in Delphi. Does anybody know of some equivalent, or will I
>need to roll my own?

>Thanks,
>Ian Harder

look on the Delphi Super Page
http://sunsite.icm.edu.pl/~robert/delphi/
there are also tools for that.

--
Harald
(sometimes Lonesome Wolf Harry)
10070...@compuserve.com
--


0 new messages