> 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.

baseunix.fpgetenv it is :-)

baseunix mostly contains Unix calls prefixed with "fp" to avoid unnecessary
nameclashes

> Now I'm looking for correspondents for these Windows APIs in the FreePascal:
>  - LoadLibrary (Linux: dlopen)
>  - FreeLibrary (Linux: dlclose)
>  - GetProcAddress (Linux: dlsym)
> 
> Can somebody help me?

Use unit dynlibs. These calls are abstracted in that unit to work over all
OSes that support such functionality.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to