cdatabase

MFC can't load error string resources in dbcore.cpp

随声附和 提交于 2020-01-07 02:22:26
问题 I have an old MFC application I've recently updated to include code that uses CDatabase to access an old MDB. This works, but when an internal error occurs, I get an assertion in dbcore.cpp that it could not load the error string resource. After some research, I added the following line to my application's RC file. #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #ifndef APSTUDIO