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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Weird error
by
xiyi0616
[
Today
at 07:10:18 am]
Fractal of Mandelbrot
by
threedslider
[
Today
at 05:59:26 am]
Trying to plot points, bu...
by
garymq
[
Today
at 05:53:24 am]
I hope FreePascal can sup...
by
xiyi0616
[
Today
at 03:57:43 am]
How to merge multiple cla...
by
cdbc
[
Today
at 02:16:37 am]
Remote desktop software i...
by
Boleeman
[
Today
at 12:59:14 am]
AI assisted translation o...
by
schuler
[April 13, 2026, 10:41:29 pm]
FPC Unleashed (inline var...
by
Fibonacci
[April 13, 2026, 09:21:04 pm]
fp-h2pas: New C header tr...
by
Gustavo 'Gus' Carreno
[April 13, 2026, 06:32:22 pm]
Nezplug Library Player
by
Gigatron
[April 13, 2026, 04:15:33 pm]
Eschecs (UCI chess GUI) 5...
by
Roland57
[April 13, 2026, 04:10:12 pm]
[ANN] fpGUI Toolkit v2.0....
by
cdbc
[April 13, 2026, 03:14:21 pm]
Lazarus Bugfix Release 4....
by
dbannon
[April 13, 2026, 01:52:18 pm]
Strange happenings with T...
by
jamie
[April 13, 2026, 12:41:42 pm]
Little bit...
by
jamie
[April 13, 2026, 12:17:43 pm]
Necromancer's Dos Navigat...
by
dbannon
[April 13, 2026, 11:03:26 am]
Can't pass string to TEdi...
by
cdbc
[April 13, 2026, 10:13:44 am]
Fixed Bzip2 unpacker from...
by
domasz
[April 13, 2026, 08:09:54 am]
Ann: DeCoperators
by
Thaddy
[April 13, 2026, 07:37:29 am]
Bad Sandwich
by
Guva
[April 12, 2026, 09:55:25 pm]
ZeosDB and sqlite3
by
dseligo
[April 12, 2026, 09:06:22 pm]
The ever re-appearing /= ...
by
Thaddy
[April 12, 2026, 08:07:09 pm]
Some Lazarus Graphics Rel...
by
Boleeman
[April 12, 2026, 03:45:30 pm]
Some Lazarus Utils N Stuf...
by
Boleeman
[April 12, 2026, 03:39:45 pm]
Ann: Deinline: a de-inlin...
by
Fred vS
[April 12, 2026, 03:17:40 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Library: Embed DLL in EXE (Read 1136 times)
Tomxe
New Member
Posts: 47
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: 572
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: 6340
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.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.
Thaddy
Hero Member
Posts: 18945
Glad to be alive.
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
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.
bobby100
Sr. Member
Posts: 301
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: 18945
Glad to be alive.
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
Recovered from removal of tumor in tongue following tongue reconstruction with a part from my leg.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Library: Embed DLL in EXE
TinyPortal
© 2005-2018