BTW, I tried building dhewm3 with tools for Win64 and it doesn't build at all, needs lots of changes in the MFC code for 64bit.
A handful of cases where functions take or return (u)INT_PTR instead of (unsigned) int, but the biggest problem is the usage of SetWindowLong()/GetWindowLong() instead of S/GetWindowLongPtr() with GWL_USERDATA and GWL_WNDPROC instead of the GWLP_* equivalents.
If you think "Haha, just use search and replace" - nope, not *that* easy, because the arguments passed to those functions (pointers to functions I think?) are explicitly casted to LONG but you need to cast to LONG_PTR instead - but just there, not in other cases where other things should still be casted to LONG..
So while making this work shouldn't be impossible, it's not that easy and I won't work on this any further for now; 32bit Windows builds are good enough anyway.
(Yes, I should eventually look at the Storm Engine 2 code which probably has all this fixed if it indeed has a working editor in 64bit builds, but OTOH there I'll have to make sure not to merge BFG-specific stuff)