SimonSellick
Programmer
Hi,
I want to specify a DLL at run time, then load it and call its methods. The DLL will have been built as a VB6 ActiveX DLL (history). I was planning to use the Platform Invoke service but the DLLImport("x.dll") directive seems to need the DLL to be known at compile time.
All the DLLs will offer the same methods and API, so there is no discovery involved, just late binding.
Does anyone know a way to achieve this?
Any help welcomed.
I want to specify a DLL at run time, then load it and call its methods. The DLL will have been built as a VB6 ActiveX DLL (history). I was planning to use the Platform Invoke service but the DLLImport("x.dll") directive seems to need the DLL to be known at compile time.
All the DLLs will offer the same methods and API, so there is no discovery involved, just late binding.
Does anyone know a way to achieve this?
Any help welcomed.