Importing routines from DLLs by ordinal number

Язык:
Русский
English

  Importing routines from DLLs by ordinal number


When you import a routine from a DLL with an index clause present, the procedure or function is imported by ordinal.

Importing by ordinal reduces the load time of the module, because Windows does not have to look up the name in the DLL's name table.

Example

Here, the ImportByOrdinal procedure is imported as the fifth entry point in the DLL called TESTLIB:

   procedure ImportByOrdinal; external 'TESTLIB' index 5;

Код для вставки: :: :: :: ::
Поделиться: // //