DLL Sample Programs

Visual Studio 6.0

https://msdn.microsoft.com/en-us/library/aa240996(v=vs.60).aspxOverviewHow Do IFAQDetails

Two MFC Advanced Concepts samples dealing with DLLs are included with Visual C++:

https://msdn.microsoft.com/en-us/library/4fezhh3d(v=vs.60).aspx    Demonstrates how to write, build, and use extension DLLs.

https://msdn.microsoft.com/en-us/library/ms385284(v=vs.60).aspx    Demonstrates how to write, build, and use regular DLLs.

Examining the source code and makefiles for these samples may help you in building your DLLs.