6. března 2012 6:31
I have made a DLL and i can use it in almost any other program by pasting it in the directory of the program.
Now i wanted to make a Shared dll so that i can use one copy of my dll for many programs without even pasting the dll in their respective directory.
Plsss tell me how to make such a DLL in c++
6. března 2012 8:42
The easiest way is copying the DLL in to the windows or system directory.
See the DLL search order: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
6. března 2012 8:49
You can place the DLL in one of search paths used when searching for a DLL as mentioned here - http://msdn.microsoft.com/en-us/library/7d83bc18(v=vs.80).aspx
After this any program can use the DLL and it will be found by Windows.