Sample code of lib and dll call, using VS2012 IDE