Question:
How to avoid program using .dll's?
paintballer100
2016-11-18 06:21:10 UTC
How to avoid program using .dll's?
Seven answers:
Undisclosed
2016-11-18 06:40:21 UTC
The difference between SLL and DLL will not help you here. DLLs are an essential part of modern programming, used to provide access to multiple functions from one or more central librar(y/ies). Windows itself is even dependent on DLLs. Leaving the library out means that the code has function calls going nowhere, and the program breaks.



Your likely problem is that the DLLs needed, such as the Microsoft Visual C++ Runtime that installs with some software, are trying to install but the policy on those machines is preventing their registration. This means they've attempted to install something that needs admin privileges during the installation without using an admin account. Installing as administrator every time should fix the problem.
?
2016-12-06 10:31:50 UTC
Just copy the required DLLs to the same folder as your executable (.exe), then they won't need to be registered. Windows looks in the executable's folder before searching system path, so the local versions will be the ones loaded. If you want to build without DLL dependencies, see if your vendor supplies static libraries. You are stuck with whatever they will give you, but most of the time they'll give you options.
Andy T
2016-11-20 19:34:20 UTC
Static linkage has gone for quite a while, last hold out would be X11 some programs in the last decade opt to statically link with Motif or even Athena at compile time. Even they are gone. So DLL is very much required, this cannot be changed in a running environment.
?
2016-11-18 06:29:12 UTC
You can't avoid it. If the software was written with those DLL's, you are required to use them. If you're having installation issues, I'd suggest you hire a competent IT company to handle stuff like that.
?
2016-11-18 06:22:46 UTC
5 points
2016-11-18 06:22:04 UTC
Install lightweight versions
chrisjbsc
2016-11-18 07:10:11 UTC
Program for an iPhone.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...