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
Slow app start on M5 MacB...
by
Thaddy
[
Today
at 03:36:57 pm]
Solpage
by
munair
[
Today
at 01:47:30 pm]
Isn’t this funny?
by
munair
[
Today
at 01:15:36 pm]
Need help with fphttpserv...
by
Thaddy
[
Today
at 12:58:30 pm]
Freepascal
by
Thaddy
[
Today
at 12:39:23 pm]
Lazarus interface to Rexx...
by
Thaddy
[
Today
at 12:38:10 pm]
Parsing error?
by
Thaddy
[
Today
at 12:02:02 pm]
Many recent books on Laza...
by
Thaddy
[
Today
at 11:52:49 am]
is there PDS reader/expor...
by
cdbc
[
Today
at 10:55:30 am]
Peculiarities in the EXE ...
by
marcov
[
Today
at 09:57:51 am]
Conscious Artificial Inte...
by
schuler
[July 14, 2026, 11:40:27 pm]
Lazarus Bugfix Release 4....
by
Martin_fr
[July 14, 2026, 10:55:23 pm]
equivalent to C/C++ "offs...
by
Thaddy
[July 14, 2026, 07:37:23 pm]
LazSWatch - a serial port...
by
CM630
[July 14, 2026, 06:11:52 pm]
MarcoV, please contact. ...
by
jbthiel
[July 14, 2026, 05:35:26 pm]
lazbuild vs IDE: PPU chec...
by
Martin_fr
[July 14, 2026, 05:30:50 pm]
OpenDocument('Filename') ...
by
cdbc
[July 14, 2026, 12:45:35 pm]
TCollection wiki entry
by
Thaddy
[July 14, 2026, 10:56:03 am]
Install new .deb over exi...
by
Thaddy
[July 14, 2026, 07:16:45 am]
I have made some progress...
by
egsuh
[July 14, 2026, 05:36:50 am]
Lazarus Main not building...
by
dbannon
[July 14, 2026, 03:01:32 am]
[SOLVED] WASM import erro...
by
lebao3105
[July 13, 2026, 05:51:47 pm]
Discipline your AI coding...
by
Weiss
[July 13, 2026, 04:37:42 pm]
Hello. I'm new to this co...
by
zeljko
[July 13, 2026, 02:17:38 pm]
weird error message
by
cdbc
[July 13, 2026, 12:23:13 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Embedding dll files into executable file (Read 7089 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: 1665
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: Win11;
stable
Lazarus 4_4 (x64) 2026-02-12 (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