[fpc-pascal] Where to find WinProcs or equivalent unit

Marco van de Voort marcov at stack.nl
Sat Jan 26 13:33:03 CET 2008


> Using FreePascal, I'm trying to compile an open source project written
> originally in Delphi 6.
> 
> Some units require Winprocs, for accessing
> functions such as GetPrivateProfileString. I didn't find it amongst
> FreePascal's installed units. I searched it in Google and got a WinProcs
> unit from the following adress, but FPC gives lots of errors while
> trying to compile it:
> http://inf.unisul.br/~osmarjr/download/delphi/units/winprocs.zip
> 
> Where can I get either WinProcs or something equivalent for FreePascal ?

WinProcs is a Windows 3.1x (TPW/D1) compability unit. Later versions alias
it to the windows unit as far as I know. FPC never supported 16-bit
backwards compat, so then it finally has to be updated :-)

More windows functions can be found in the jwa* units, and other units in
the "winunits" package(s).



More information about the fpc-pascal mailing list