To use the class in your code simply include parallelport.cpp in your project and #include parallelport.h in which ever of your modules needs to make calls to the classes.
Your code will need to include MFC either statically or dynamically.
You may want to add afxtempl.h to your pre compiled header to improve compilation speed.
To see the class in action, have a look at the code in _tmain in the module "main.cpp".
If you are going to be using the CParallelPort code on Windows NT, Windows 2000, XP, 2003, Vista or 2008, then you will need to download and install the freeware DriverLINX PortIO driver. As a convenience, you can download a self extracting installer from the author's web site at http://www.naughter.com/download/port95nt.exe. Alternatively you can download it from the DriverLINX download page at http://www.driverlinx.com/DownLoad/dnload.htm. The developers of DriverLINX are SSTNET and can be reached at http://www.sstnet.com.