Fixed Visual Studio project files. Fixed incorrect runtime DLL usage in Debug builds and removed C++exception generation from C files.