c++ - Load multiple copies of dll in same process -


I have a DLL built by a third party that has some type of internal data structure which limits it to the size of X elements. is.

So basically, there is a line in the form of X in it.

From now on I have learned that the process of DLL is copy, but is it possible to load DLL more than once? Maybe every thread? In C # Or in C ++ / CLI?

I am trying to load the original C ++ DL.

Unfortunately, the NT core of a public interface to leave the pool of preloaded DLLs Does not disclose As such, you have been left with some choice:

  • Use copy, hardlink, silicink, and / or retrieval points to fool the loader into many different DLLs. .
  • Use multiple processes, and load one process per DLL.
  • Write a new DLL loader (not too much for the unconscious heart!)
  • Explain the DLL vendor to fix it (a DLL loader is more likely to be harder than typing :)

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -