Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

EntryExists method

Project: Resource File Unit

Unit: PJResFile.

Class: TPJResourceFile

Applies to: ~>1.0

function EntryExists(const ResType, ResName: PChar;
  const LangID: Word = $FFFF): Boolean;

Checks whether a resource entry with the specified type, name and language id exists. The search can ignore the resource name and or language id in which case the method succeeds if any resource matching the provided information is accepted.

Parameters:

Returns:

True if a resource matching the search criteria exists and False if not.