Visual Studio 2005 DLL sample.
The samples are from
these pages.
There are two types of functions explained in the above pages.
One is a simple function. And the other is method within a class. Both functions are simple dialog boxes which just pops up a message.
The point is they are implemented in DLL.
Once you create your own functions you possibly want to reuse them in other applications. To do that, you could copy and paste your original functions.
Or you could create your own classes. But if you create a class in DLL, you can just use them any application by calling DLL.
It's like a parts ready to use, you only have to remember how to use it.
I have not made any useful functions in the DLL yet. But these are the skelton files you can build your own DLL using Visual Studio 2005 MFC based application.
exeDll project is the DLL, so you build your function in there. Then you need to copy exeDLL.dll to extDLLexe directory. And you build them with header information.