Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
720 views
in Technique[技术] by (71.8m points)

merge - Delphi embedding localized DLL data to EXE

From Delphi compiler (10.x) I got both app.exe and app.enu files. The app.enu file contains localized english strings that is indeed a DLL with STRING and RCDATA sections. App.exe loads the STRING and RCDATA sections from app.enu with a simple call of

LoadLibraryEx(FileName, 0, LOAD_LIBRARY_AS_DATAFILE); 

I would like to merge both files (.exe + .enu/dll) and load the localized STRING and RCDATA sections in my exe app.

I have tried Ilmerge, but concerns only .NET assemblies, not regular exe/dll (or unmanaged) I have also look around and not found any obvious solutions.

Or may be simply not something possible...?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...