Objects are combinations of code and data. A regular DLL does not support this because it only supports the C binary application interface (C ABI), but there are DLLs that do: BPL files. In other words, you need to create a .bpl file, not a .dll file. This requires both this file and the user to be Delphi, of course.
Lars d
source share