Closed ChetSimpson closed 1 year ago
I did a test build with this commit. The tape config dialog is now blank for me (Windows 10). Note: This is the only dialog with RICHEDIT controls and if I comment out these two controls in Vcc.rc the dialog is partially restored (minus the commented out controls)
Opps. Set to draft was accidental. This request is still in review. There still is an issue with the cassette dialog which could be resolved by modifying a couple of controls.
This commit eliminates the dependency on MFC by replacing usage of afxres.h with winres.h, afxwin.h with windows.h, and CString with std::string. It also swaps the call to AfxInitRichEdit() with LoadLibrary("RICHED20.DLL"); to support the rich edit control in the breakpoints window, printf with OutputDebugString for debug reporting. removes using namespace std from global scope in C++ headers and source files, and fixes a handful of instances of undefined behavior.