技术栈

getstaticmodule

SunkingYang
2 个月前
create·createdialog·getlasterror·1813·找不到映像文件中指定的资源类型·afx_module_sta·getstaticmodule
MFC中使用Create或CreateDialog创建对话框失败,GetLastError错误码为1813(找不到映像文件中指定的资源类型)在 DLL 中加载资源(如对话框、字符串)时,必须确保使用正确的模块状态,否则可能加载错误的资源或失败。