araujoarthur 0 Posted Saturday at 05:16 PM I'm aware that packages must be compiled with the same major version of the language as the project you intend to use in order to be imported into the project, but what about dynamic linked libraries? Can I write and compile a DLL in Delphi 12 and use it in Delphi 10.3 for example? Also, about the opposite, can I use a DLL compiled in Delphi 10.3 and use in a Delphi 12 project? Share this post Link to post
Remy Lebeau 1467 Posted Saturday at 05:29 PM Yes, for the most part, a plain DLL can do that. Just be careful about accessing anything across the DLL boundary that is version-specific. Keep the interface between DLL and EXE simple - stick to functions and simple POD types or OS-managed types only. No classes, no Delphi-managed types, etc. 1 Share this post Link to post