Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Embedding dll files into executable file
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
Printout in Printer Queue...
by
wwerner
[
Today
at 07:25:31 am]
The compiler fails to war...
by
dseligo
[
Today
at 01:41:21 am]
Embedded qss stylesheets ...
by
big_M
[
Today
at 12:52:34 am]
Theoretical question. Laz...
by
jamie
[
Today
at 12:12:09 am]
Mapping Images Like Odome...
by
SandyG
[January 15, 2026, 11:57:50 pm]
StrToDateTime problems
by
Aruna
[January 15, 2026, 11:56:02 pm]
Newly revised TlistBox in...
by
jamie
[January 15, 2026, 11:17:12 pm]
unit init, finalize and i...
by
PascalDragon
[January 15, 2026, 09:46:49 pm]
Why does FPC behave this ...
by
PascalDragon
[January 15, 2026, 09:26:24 pm]
How to forward a Class in...
by
PascalDragon
[January 15, 2026, 09:21:47 pm]
Pyramid solitaire, re-wri...
by
TBMan
[January 15, 2026, 09:21:07 pm]
Tzipper giving error on M...
by
Josh
[January 15, 2026, 08:46:02 pm]
Copy and Past Code
by
n7800
[January 15, 2026, 07:47:43 pm]
AI: Agentic Design Patter...
by
avra
[January 15, 2026, 06:36:29 pm]
CudaText editor (written ...
by
szlbz
[January 15, 2026, 02:16:25 pm]
PasLLM - LLM Inference En...
by
matthius
[January 15, 2026, 01:41:45 pm]
Stacked bars not drawn pr...
by
apeoperaio
[January 15, 2026, 12:57:01 pm]
New book on Object Pascal
by
matthius
[January 15, 2026, 12:55:36 pm]
[SOLVED] Assembler error ...
by
dbannon
[January 15, 2026, 12:55:16 pm]
four squares (inc)
by
speter
[January 15, 2026, 11:25:05 am]
Regarding the issue of de...
by
Martin_fr
[January 15, 2026, 10:20:35 am]
Dice (raylib + kraft phys...
by
fcu
[January 15, 2026, 09:01:24 am]
Lazarus seems to be makin...
by
Boleeman
[January 15, 2026, 07:54:25 am]
[SOLVED] Lazreport PDF
by
Petrus Vorster
[January 15, 2026, 07:42:59 am]
Maze Makers: Modified Cyl...
by
Boleeman
[January 15, 2026, 07:20:10 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Embedding dll files into executable file (Read 6907 times)
IndianaJones
Hero Member
Posts: 509
Embedding dll files into executable file
«
on:
February 25, 2010, 04:01:53 pm »
Hi all,
Is there anyway to embed dll files into the compiled application?
Thanks.
Logged
eny
Hero Member
Posts: 1648
Re: Embedding dll files into executable file
«
Reply #1 on:
February 25, 2010, 05:30:39 pm »
How is Windows supposed to find the dll if it's hidden in the exe?
(You can always embed it as a binary resource, you just can't call the functions in it...)
Logged
All posts based on: Win10 (Win64); Lazarus 3_4 (x64) 25-05-2024 (unless specified otherwise...)
LazaruX
Hero Member
Posts: 597
Lazarus original cheetah.The cheetah doesn't cheat
Re: Embedding dll files into executable file
«
Reply #2 on:
February 25, 2010, 11:05:20 pm »
My suggestion would be to embed it as a resource when you need it extract it to a temporary file and delete it when the app closes.
It should work I think
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Embedding dll files into executable file
TinyPortal
© 2005-2018