I’m trying to compile a Delphi project in Free Pascal Lazarus and get compiler errors, because several WinAPI functions (CreateNamedPipe, GetLastError, OutputDebugString) can’t be found.
The uses clause of the file in question looks like this:
uses
SysUtils,
LCLIntf, LCLType, LMessages;
Which units should I add to the uses clause in order to fix the aforementioned compiler errors?
You need the Unit Windows for the WinAPI.