Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Library: Embed DLL in EXE
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Layout problem by nested ...
by
Joanna
[
Today
at 10:09:37 pm]
"LCLVersion" in *.lfm fil...
by
Martin_fr
[
Today
at 09:45:17 pm]
FPC for high-performance ...
by
Thaddy
[
Today
at 09:42:33 pm]
How to stop macro executi...
by
440bx
[
Today
at 09:19:45 pm]
Lazarus 4.0 RC3
by
mattias
[
Today
at 09:04:03 pm]
x86_64-win64 annoys me
by
Nicole
[
Today
at 08:28:16 pm]
CEF component - the first...
by
loaded
[
Today
at 08:02:30 pm]
OpenDialog and mouse even...
by
Martin_fr
[
Today
at 07:37:19 pm]
InstallAware 2025 Sources...
by
msintle
[
Today
at 06:49:04 pm]
Sqlite & Zeos
by
CharlyTango
[
Today
at 05:01:43 pm]
Strict Aliasing Rule
by
nixbody
[
Today
at 04:19:41 pm]
Lazarus 4 - I give up and...
by
Nicole
[
Today
at 04:01:40 pm]
LazUtils, FileUtil.CopyDi...
by
AlexTP
[
Today
at 02:52:02 pm]
How to run an external pr...
by
Thaddy
[
Today
at 12:42:30 pm]
Help needed setting up LA...
by
silvercoder70
[
Today
at 12:12:06 pm]
Font character being clip...
by
Coxy
[
Today
at 12:04:54 pm]
FPReport designer, am I u...
by
dseligo
[
Today
at 10:28:13 am]
Which RTL Unit do I have ...
by
MarkMLl
[
Today
at 09:41:10 am]
Has anyone loaded ReactOS...
by
MarkMLl
[
Today
at 09:33:17 am]
IDE Lazarus 4.0 on Window...
by
Martin_fr
[
Today
at 09:22:58 am]
[SOLVED] Erm ... TPageCon...
by
EganSolo
[
Today
at 08:32:30 am]
Build failure
by
dbannon
[
Today
at 04:54:00 am]
[Solved]TChart How to sha...
by
Wilko500
[
Today
at 04:39:38 am]
SnapModbus
by
avra
[
Today
at 03:02:46 am]
Fast Canvas Library V1.0
by
Gigatron
[
Today
at 02:30:36 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Library: Embed DLL in EXE (Read 816 times)
Tomxe
New Member
Posts: 46
Library: Embed DLL in EXE
«
on:
April 23, 2025, 09:57:37 pm »
Here's a small wrapper which works in 64 bit Lazarus under Windows:
https://github.com/Xelitan/XelitanMem---embed-DLL-in-EXE
It allows you embed any number of DLLs into your EXE and use them without unpacking to disk. Supports gzip compression.
Logged
eldonfsr
Hero Member
Posts: 550
Re: Library: Embed DLL in EXE
«
Reply #1 on:
May 10, 2025, 06:04:53 pm »
wow this great idea.... let me test....
Logged
440bx
Hero Member
Posts: 5454
Re: Library: Embed DLL in EXE
«
Reply #2 on:
May 10, 2025, 08:31:28 pm »
That can potentially be very useful. I'll definitely try it out.
Thank you for sharing that.
Logged
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.
Thaddy
Hero Member
Posts: 17148
Ceterum censeo Trump esse delendam
Re: Library: Embed DLL in EXE
«
Reply #3 on:
May 10, 2025, 09:37:10 pm »
Very old idea, but useful. A 32 bit version is available from
https://www.delphibasics.info/home
(About 25 years old to be exact.)
But it might be time to have a 64 bit version.
Logged
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.
bobby100
Sr. Member
Posts: 281
Re: Library: Embed DLL in EXE
«
Reply #4 on:
May 11, 2025, 03:30:57 pm »
I guess the antivirus software will go nuts when it finds that something is unpacking an executable directly to RAM.
Logged
https://gitlab.com/bobby100
https://github.com/BobanSpasic
https://sourceforge.net/u/boban_spasic/profile/
Thaddy
Hero Member
Posts: 17148
Ceterum censeo Trump esse delendam
Re: Library: Embed DLL in EXE
«
Reply #5 on:
May 11, 2025, 03:43:31 pm »
Indeed, it was not a very smart idea 25 years ago and it still is not.
Logged
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Library: Embed DLL in EXE
TinyPortal
© 2005-2018