how to create a shared DLL
-
terça-feira, 6 de março de 2012 06: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++
Todas as Respostas
-
terça-feira, 6 de março de 2012 08: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
- Sugerido como Resposta Helen ZhaoModerator quarta-feira, 7 de março de 2012 07:53
- Marcado como Resposta Helen ZhaoModerator terça-feira, 13 de março de 2012 03:20
-
terça-feira, 6 de março de 2012 08: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- Sugerido como Resposta Helen ZhaoModerator quarta-feira, 7 de março de 2012 07:53
- Marcado como Resposta Helen ZhaoModerator terça-feira, 13 de março de 2012 03:20

