[Lazarus] Lazarus errors -- DVD procedure identifiers.

Marco van de Voort marcov at stack.nl
Fri Apr 8 12:08:19 CEST 2011


In our previous episode, Peter Williams said:
> I have a legacy Delphi 7 project which works fine in D7, but it gives these errors in Lazarus 0.9.31.
> Options changed, recompiling clean with -BHint: Start of reading config file /etc/fpc.cfgHint: End of reading config file /etc/fpc.cfgFree Pascal Compiler version 2.4.2-0 [2010/11/11] for i386Copyright (c) 1993-2010 by Florian KlaempflTarget OS: Linux for i386Compiling Project1.lprCompiling DVDregion1.pasDVDregion1.pas(62,13) Error: Identifier not found "ZeroMemory"DVDregion1.pas(63,21) Error: Identifier not found "GetDriveType"DVDregion1.pas(65,23) Error: Identifier not found "DRIVE_CDROM"DVDregion1.pas(76,28) Error: Identifier not found "DeviceIoControl"DVDregion1.pas(115) Fatal: There were 4 errors compiling module, stopping   

Looks like a windows only project, with the windows unit headers stripped.
WIll probably work fine with Lazarus under Windows.






More information about the Lazarus mailing list