[fpc-pascal] FreePascal in a FreeBSD

2006-01-13 Thread Evandro Sestrem
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 Wi

Re: [fpc-pascal] FreePascal in a FreeBSD

2006-01-13 Thread Marco van de Voort
> I'm trying compile a project using FreePascal (2.0.2 [2005/11/17] for i386) > in a FreeBSD 4.1. That's an old one (the FreeBSD I mean) > 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. Tha

RE: [fpc-pascal] FreePascal in a FreeBSD

2006-01-13 Thread pierre charland
I don't know, I'm new to FreePascal. I tried but had to remove it because it conflicted with . You could check the , 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 G

[fpc-pascal] RES: FreePascal in a FreeBSD

2006-01-13 Thread Evandro Sestrem
Thank you very much, Marco! You really helped me a lot. Pierre: you can use de BaseUnix.GetEnvironmentVariable almost the same like you use Windows.GetEnvironmentVariable in Delphi. Now I'm looking for correspondents for these Windows APIs in the FreePascal: - LoadLibrary (Linux: dlopen) - Fr

Re: [fpc-pascal] RES: FreePascal in a FreeBSD

2006-01-13 Thread Jonas Maebe
On 13 jan 2006, at 23:52, Evandro Sestrem wrote: Now I'm looking for correspondents for these Windows APIs in the FreePascal: - LoadLibrary (Linux: dlopen) - FreeLibrary (Linux: dlclose) - GetProcAddress (Linux: dlsym) Add the unit "dynlibs" to your program and all these functions are