"__HUGE" は未解決です→/MTと/MDの混在が原因だった

「"__HUGE" は未解決です」というコンパイルエラーが出て、日本語でググってもいまいちずばりな解決策がなかったので英語でググったら

If you mix statically linked libraries /MT or /MTd with dynamically linked libraries on the same project, this error results. To fix this, check whether all the incldued libraries in the Project are built with the same CRT Runtime option.

Linker error 2001 - unresolved external symbol __HUGE | Microsoft Connect

とのことであっさり解決した。つまり僕が使っていたDLLが/MTなのに、プロジェクトの設定が/MDになっていたのが原因だったのだ。ちなみにプロパティ→C/C++→コード生成で変更できる。なんてことを日本語でここに書いておけば誰かの時間が節約できて幸福の総和が大きくなるに違いない!