getenv - any solutions?
Wed, 23 Oct 1996 21:20:59 +0100 (MET)
According to John Michael Black:
> There's been a lot of getenvs going around here lately. :) Has anyone
> found a method that works yet? The last thing posted about it gave this:
>
> Function GetEnv ( Name: __CString__ ): PChar; C;
>
> GPC does not recognize PChar -- at least ours doesn't.
You must *define* PChar first:
Type
PChar = ^Char;
Perhaps you should try that Borland compatible GetEnv Function in
the Tools Unit of BO5. See
ftp://kampi.hut.fi/jtv/gnu-pascal/turbo-alpha/bo5.zip
Greetings,
Peter
e-mail: peter.gerwinski@uni-essen.de
home address: D\"usseldorfer Str. 35, 45145 Essen, Germany
WWW: http://agnes.dida.physik.uni-essen.de/~peter/
Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es