[fpc-pascal] FreePascal in a FreeBSD

pierre charland pierrecharland at hotmail.com
Fri Jan 13 19:25:52 CET 2006


I don't know, I'm new to FreePascal.

I tried <uses Windows> but had to remove it
because it conflicted with <uses graph>.

You could check the <Win32 API help files>,
download it from http://www.freepascal.org/docs.html.

Those help files are too complex for me to understand.
In there I find no getenv function,
only GetEnvironmentStrings and GetEnvironmentVariable.

If I learn more I will let you know.


>From: "Evandro Sestrem" <evandro at blueone.com.br>
>Reply-To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
>To: <fpc-pascal at lists.freepascal.org>
>Subject: [fpc-pascal] FreePascal in a FreeBSD
>Date: Thu, 12 Jan 2006 16:46:04 -0300
>
>
>Hello,
>
>I'm trying compile a project using FreePascal (2.0.2 [2005/11/17] for i386)
>in a FreeBSD 4.1.
>
>I can compile this project in Delphi (in a Windows) and Kylix (in a 
>Debian),
>but infortunatelly I can't compile this project using FreePascal/FreeBSD.
>
>I have this code:
>
>{$IFDEF WIN32}
>uses
>   Windows;
>{$ENDIF}
>
>{$IFDEF LINUX}
>uses
>   Libc;
>{$ENDIF}
>
>
>to use the getenv function.
>
>What the correspondent for FreeBSD to Libc?
>
>
>
>Thanks in advance!
>
>Evandro Sestrem
>www.blueone.com.br
>
>--
>No virus found in this outgoing message.
>Checked by AVG Free Edition.
>Version: 7.1.371 / Virus Database: 267.14.17/227 - Release Date: 11/1/2006
>
>_______________________________________________
>fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>http://lists.freepascal.org/mailman/listinfo/fpc-pascal





More information about the fpc-pascal mailing list