Since the library file(lib provided by client) is statically linked in our C++ static library, does the dll(lib provided by client) also need to be linked/referred in our application. They(client) have provided their .lib and .dll. Can we use only .lib in our C++ static library.
M
Member 11201788
@Member 11201788
Posts
-
Static linking -
Static linkingOur application develped in C# uses a dll and static library(lib). The dll is intermediate project for static libraty and C# application. Client has provided files(library file and a dll) which is required for interacting with their application. 1. In our C++ static library we are using only the library file provided by client by statically linking it. 2. Our C++ wrapper dll references this C++ static library created in step 1. 3. C# application references the wrapper dll created in step 2. Since the library file is statically linked in our C++ static library, does the dll also need to be linked/referred in our application.