From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,54b43bce78b18737 X-Google-Attributes: gid103376,public From: "Pascal Obry" Subject: Re: Dos Environment varables Date: 1999/05/25 Message-ID: <7ie3a6$aph$1@clnews.edf.fr>#1/1 X-Deja-AN: 481869306 References: <7i3stm$o4m$1@news-int.gatech.edu> <37458BC1.CC63E63E@Maths.UniNe.CH> <7i42q7$c48$1@news-int.gatech.edu> <37497064.C4457F71@utech.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: EDF X-MSMail-Priority: Normal Newsgroups: comp.lang.ada Date: 1999-05-25T00:00:00+00:00 List-Id: Jeffrey D. Cherry 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"