Please run vsdept32.sql before running the sample application. 
Compile the project with VC++ 6.0