I am writing a plugin system in Delphi. My initial choice was a DLL-based system and I would still like to carry it through, but I've discovered that both the external overload and LoadLibrary function only work with constant values, so I cannot use them unless I know the name of the DLLs at designtime - which of course I don't. I've found several solutions but they are all so old they either don't work on 2000/XP or need Delphi 5 (I am using Delphi 7)! I've found Dragonsoft's plugin program too but it's not what I want. I just need a way to get DLLs at runtime, nothing else.
Question
Varsity
I am writing a plugin system in Delphi. My initial choice was a DLL-based system and I would still like to carry it through, but I've discovered that both the external overload and LoadLibrary function only work with constant values, so I cannot use them unless I know the name of the DLLs at designtime - which of course I don't. I've found several solutions but they are all so old they either don't work on 2000/XP or need Delphi 5 (I am using Delphi 7)! I've found Dragonsoft's plugin program too but it's not what I want. I just need a way to get DLLs at runtime, nothing else.
What can I do?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts