comp.lang.ada
 help / color / mirror / Atom feed
From: "Pascal Obry" <p.obry@der.edf.fr>
Subject: Re: Dos Environment varables
Date: 1999/05/25
Date: 1999-05-25T00:00:00+00:00	[thread overview]
Message-ID: <7ie3a6$aph$1@clnews.edf.fr> (raw)
In-Reply-To: 37497064.C4457F71@utech.net

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1559 bytes --]


Jeffrey D. Cherry <jdcherry@utech.net> a �crit dans le message :
37497064.C4457F71@utech.net...
> Al,
>
> The GNAT OS_Lib route is a great way to get environment variables when
> you want to port your application accross different platforms.  If you
> are going to stay with Windows, then using the Win32 API is a good
> "portability" alternative, again the condition being that you stay
> within the Windows family (95/98/NT).  Here is a function that I've used
> with the OA compiler.  I've used it on Windows 95, 98, and NT without
> any problems.  Hope it helps.

Yes and the best solution could be POSIX. It is compiler and platforms
independant.

Look at Florist for a UNIX implementation and under my homepage for
a partial (yet very usefull) POSIX for Win32.

Pascal.

--

--|------------------------------------------------------------
--| Pascal Obry                               Team-Ada Member |
--|                                                           |
--| EDF-DER-IPN-SID- T T I                                    |
--|                       Intranet: http://cln46gb            |
--| Bureau N-023            e-mail: pascal.obry@edf.fr        |
--| 1 Av G�n�ral de Gaulle  voice : +33-1-47.65.50.91         |
--| 92141 Clamart CEDEX     fax   : +33-1-47.65.50.07         |
--| FRANCE                                                    |
--|------------------------------------------------------------
--|
--|   http://ourworld.compuserve.com/homepages/pascal_obry
--|
--|   "The best way to travel is by means of imagination"







  reply	other threads:[~1999-05-25  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-21  0:00 Dos Environment varables Al Lively
1999-05-21  0:00 ` Gautier
1999-05-21  0:00   ` Al Lively
1999-05-21  0:00     ` Gautier
1999-05-24  0:00     ` Jeffrey D. Cherry
1999-05-25  0:00       ` Pascal Obry [this message]
1999-05-25  0:00         ` Jeffrey D. Cherry
1999-05-21  0:00 ` Keith Thompson
1999-05-22  0:00 ` David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox