[Lazarus] Lazarus errors -- DVD procedure identifiers.

Marco van de Voort marcov at stack.nl
Fri Apr 8 13:21:23 CEST 2011

On Fri, Apr 08, 2011 at 12:05:33PM +0100, Lukasz Sokol wrote:
> > 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.
> > 
> Would it run on WINE ?

Maybe it would run in a VM too, but that is besides the point. Then you
might as well run the D7 binary in whatever emulator.

Anyway, since this is hardware detection, even Wine might not help you here.

More information about the Lazarus mailing list