Remove "using namespace std" from all headers. It makes namespace useless in all source files.
UINT, ULONG, DWORD, U32... Aaargh! They are irritating! So I replaced all those types to (u)intN_t. (Of course, true Windows types are not replaced)

I think some of uint32_t should be replaced by uint_least32_t, unsigned int/long, size_t, off_t or anything else.
windows: fix broken reference to osdepend.h in vcproj.
Windows: Remove a lot of unnecessary lines from vcproj.
Add tinyxml x64 library.