For example, I have 3 modules : Module1.cpp/h Module2.cpp/h and Module3.cpp/h, Now I will build it as a static library named as Modules.lib
Then I will create another project that will be built as a DLL. Modules.lib will be imported to the project since some source code have dependencies on Modules.lib. I will build it as Library.dll
Now this Library.dll will be used by a Windows App. How can I use the functions/classes in Modules.lib that was imported in Library.dll? How can I also export the header files(Module1.h, etc). When I add them in the header file of the dll, there is an error. The dll header file cannot find the included header file.
I can't find a specific example for this. Please show me an example. Thank you very much.