+ write the module description as the first entry to the nonresident names table

git-svn-id: trunk@42631 -
This commit is contained in:
nickysn 2019-08-10 00:11:12 +00:00
parent 7bb6b525b1
commit 90a164bcda

View File

@ -4303,6 +4303,8 @@ cleanup:
{ the first entry in the resident-name table is the module name }
TNewExeExportNameTableEntry.Create(ResidentNameTable,ExtractModuleName(current_module.exefilename),0);
{ the first entry in the nonresident-name table is the module description }
TNewExeExportNameTableEntry.Create(NonresidentNameTable,description,0);
FillImportedNameAndModuleReferenceTable;
ImportedNameTable.CalcTableOffsets;