View range fixes and adjusted project so the c++ dll now responds to build configuration (release/debug)