Cleverson ha scritto:
Hi,
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
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
Giuliano wrote:
The function GetPrivateProfileString is in the fpc Windows32 API
Library. A quick look to Winprocs shows that also other functions
defined there should be in the windows unit.
A uses windows clause in place of uses Winprocs should solve your
problem (hopefully :-) )
Thank