I used VC++'s MFC DLL wizard to make myself a small dll. I called it area1(find the area of a square) Anywho this is the code for area1.cpp: ...