how to create a shared DLL
-
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++
Všechny reakce
-
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
- Navržen jako odpověď Helen ZhaoModerator 7. března 2012 7:53
- Označen jako odpověď Helen ZhaoModerator 13. března 2012 3:20
-
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.
«_Superman_»
Microsoft MVP (Visual C++)
Polymorphism in C- Navržen jako odpověď Helen ZhaoModerator 7. března 2012 7:53
- Označen jako odpověď Helen ZhaoModerator 13. března 2012 3:20