Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

GetImportLibraryFilename

Gets filename for import library

Declaration

Source position: fpmkunit.pp line 1703

function GetImportLibraryFilename(

  const UnitName: string;

  AOS: TOS

):string;

Arguments

UnitName

  

Unit name for import library

AOS

  

Target operating system

Function result

Import library filename

Description

GetImportLibraryFilename generates the appropriate import library filename for a unit on the specified operating system. Import libraries are used on platforms like Windows to link against dynamic libraries.

The function constructs the correct import library name following platform conventions, enabling proper linking with dynamic libraries during the compilation process.


Documentation generated on: Dec 15 2025