Forum > General

How to break exe into obj file or dll ,bpl

(1/2) > >>

Prakash:
How to break exe into multiple obj file ,dll,bpl file in Lazarus

TRon:

--- Quote from: Prakash on July 30, 2024, 09:38:39 pm ---How to break exe into multiple obj file ,dll,bpl file in Lazarus

--- End quote ---
I am afraid that I do not fully understand the question.

Every unit is already automatically compiled into its own object and linked together by the compiler/linker.

A dll needs to be crafted manually, see https://www.freepascal.org/docs-html/prog/progse55.html

bpl's do not have a fpc/lazarus counterpart.

440bx:

--- Quote from: Prakash on July 30, 2024, 09:38:39 pm ---How to break exe into multiple obj file ,dll,bpl file in Lazarus

--- End quote ---
An executable cannot be broken into obj, dll or bpl files.

Obj files are gathered together by the linker to create the exe (or dll or bpl or some other extension.)

HTH.

Remy Lebeau:
You can't simply break up an EXE.  You need to create a whole separate DLL or BPL project and move the desired units to it, then compile it.  Then change the EXE project to use that DLL or BPL, and recompile it.

cdbc:
Hi
As Dirty Harry said: "Do you feel lucky?", "...Well, do you P###"?!?
If you do then have a 'looksee' here: https://sourceforge.net/projects/rd-dpf/
DPF ~ (D)elphi(P)lugin(F)ramework, translated to FreePascal it works too  8-)
Have fun
Regards Benny

Navigation

[0] Message Index

[#] Next page

Go to full version