For the test program to work,
you must choose multi-threaded dll option in code generation 
