.DXE .DLL .SO (etc.) (Developers)
> The concept of packeges in interresting. I haven't known about it before
> (although is for years used in Delphi). The main advantage is that many
> units can be grouped in one file?
You can say "this BPL/DLL contains these units". The units themselves don't change and if you don't work with BPL/DLL can be compiled normally.
IOW a package is like a DLL project, a mainprogram to build a DLL. The difference is in the metadata.
Then to use it, you have to explicitly say that you want to build a certain project with packages and list the packages to link. If you use packages, RTL is always in a package (since the other packages must link to it, so it can be shared).
> I am afraid about braking compatibility with my old code...
Packages won't be default. It is primarily useful for plugin architectures, just like DXE, just easier.
Things like IDEs use it to runtime load designtime packages and other IDE extensions.
Some RTL state will get an indirection, if you don't use it, not much changes otherwise.
> Yes, although not dynamicaly loaded I understand the possible advantage
> about changing the separate DLL modules without modifying the main EXE.
Note that this is only in the dynloaded loadlibrary case.
> I can imagine it in situation like demoversion/fullversion or "general game
> engine" / "customized game engine".
> But the important question for me is: can be this feature be switched off?
It is not even on by default. Not even in Delphi. The designtime packages you install in Delphi work via this system.
Complete thread:
- .DXE .DLL .SO (etc.) - Rugxulo, 14.12.2019, 14:00 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- .DXE .DLL .SO (etc.) - Laaca, 15.12.2019, 22:50
- .DXE .DLL .SO (etc.) - Rugxulo, 16.12.2019, 20:04
- .DXE .DLL .SO (etc.) - marcov, 16.12.2019, 23:16
- .DXE .DLL .SO (etc.) - Laaca, 18.12.2019, 21:30
- .DXE .DLL .SO (etc.) - marcov, 19.12.2019, 20:39
- .DXE .DLL .SO (etc.) - Rugxulo, 20.12.2019, 10:39
- .DXE .DLL .SO (etc.) - marcov, 20.12.2019, 18:06
- .DXE .DLL .SO (etc.) - Laaca, 18.12.2019, 21:30
- .DXE .DLL .SO (etc.) - sezeroz, 16.12.2019, 06:15
- .DXE .DLL .SO (etc.) - Laaca, 15.12.2019, 22:50
Mix view