So it turns out that MSVC doesn’t like it when I try to use bool instead of BOOL for MFC stuff, which is annoying. Looks like they never updated the type to C99 or modern C++. Blech:
D:\a\MWEdit\MWEdit\ui\load_dlg.h(69,15): error C2555: 'CEsmLoadDlg::OnInitDialog': overriding virtual function return type differs and is not covariant from 'CDialog::OnInitDialog' [D:\a\MWEdit\MWEdit\builddir\MWEdit.vcxproj]
If you’re going to use C++ then at least use the proper types! *grumbles*
Will need to go back through and fix it. Again. *sigh*
Also getting some errors regarding stuff in the shipped winuser.h file. Will see if those go away as I go through. If not, it’ll be another broken Windows header to add to our list.