move to vs2012, libocad compile as cpp, stop memory leak
move to vs2012, libocad compile as cpp, stop memory leak