port to VS2012

- fixed some conversion data loss (double/float)
- ported whole project from C::B to VS2012