{$SOPREFIX ''}
{$LIBPREFIX ''}
{$LIBSUFFIX '240'}
{$LIBVERSION ''}
{$EXTENSION '
bpl'}
<Basisname>.dcp
<LibPrefix><Basisname><LibSuffix>.<Extension><LibV ersion>
Der Basisname kommt dann in die Requires-Liste.
Automatisch geht, aber nicht schön
Delphi-Quellcode:
{$IF CompilerVersion = 18.0} {$LIBSUFFIX '180'}
{$ELSEIF CompilerVersion = 18.5} {$LIBSUFFIX '185'}
{$ELSEIF CompilerVersion = 20.0} {$LIBSUFFIX '200'}
{$ELSEIF CompilerVersion = 21.0} {$LIBSUFFIX '210'}
{$ELSEIF CompilerVersion = 22.0} {$LIBSUFFIX '220'}
{$ELSEIF CompilerVersion = 23.0} {$LIBSUFFIX '230'}
{$ELSEIF CompilerVersion = 24.0} {$LIBSUFFIX '240'}
{$ELSEIF CompilerVersion = 25.0} {$LIBSUFFIX '250'}
{$ELSEIF CompilerVersion = 26.0} {$LIBSUFFIX '260'}
{$ELSEIF CompilerVersion = 27.0} {$LIBSUFFIX '270'}
{$ELSEIF CompilerVersion = 28.0} {$LIBSUFFIX '280'}
{$ELSEIF CompilerVersion = 29.0} {$LIBSUFFIX '290'}
{$ELSEIF CompilerVersion = 30.0} {$LIBSUFFIX '300'}
{$ELSEIF CompilerVersion = 31.0} {$LIBSUFFIX '310'}
{$ELSEIF CompilerVersion = 32.0} {$LIBSUFFIX '320'}
{$ELSEIF CompilerVersion = 33.0} {$LIBSUFFIX '330'}
{$ELSEIF CompilerVersion = 34.0} {$LIBSUFFIX '340'}
{$ELSEIF CompilerVersion = 35.0} {$LIBSUFFIX '350'}
{$ELSE} {$MESSAGE Error 'CompilerVersion unbekannt'} {$ENDIF}