Refactore codes

Fix "Debug Assertion Failed! Expression: _pFirstBlock == pHead"
by c++-->代码生成 -->多线程调试dll运行库