My WinForms application will load the unmanaged DLL "stub", and retrieve information. The stub DLLs themselves load unmanaged DLLs "source" to retrieve the information. The 32-bit stub will load 32-bit sources and 64-bit stub will load 64-bit sources. I need a way for my WinForms application to display this information without making a 32 and 64 bit version for it. How can I do it?
I need to access both the 32 and 64 bit stub DLLs as the sources are random (dependant on what the end user has installed), and are 32/64-bit as well. I am making a VST plugin scanner, if this info helps. The source DLLs are VST plugins, obviously I have no control over how many of them are installed and in what bit-width.