Well, I think the only way is to program the method processing identifier, which takes into account the problem with the DLL :)
I mean, if you can calculate the global type identifier as "DLL Id" + "DLL local type DLL", then you have what you want. I think this may be feasible if you are managing the DLL loading part or if the OS gives you callbacks to manage this. If you can set a unique identifier in a DLL-related object, you will do :-)
I am not an expert in managing Windows DLLs, but I remember that there is something like the "on_dll_load" function that can do the trick. Any specialist in managing a dll?
Only my 2 cents ...
neuro
source share