How to avoid loading 3rd party DLL?
Posted on 2002-03-15
I program in Visual C++ version 6 on Windows NT 4. A third party provides a DLL, a link-time library to go with that DLL, and a header file. Whenever I link my program to the 3rd party library, my program will demand the presence of the DLL at startup, regardless of whether or not my program actually reaches any function calls to the 3rd party library. I want to avoid installing the DLL in all the computers around the world that run my software. I want to limit distribution of the DLL just to those computers that need its functionality. I do not have the source code for the DLL or the 3rd party link-time library, and the 3rd party has so far been uncooperative in helping me achieve my goal. Do I have any way out?