Have a look at this
http://www.compsys1.com/workbench/On...c_project.html