纯资源dll

1.创建dll工程
2.删除cpp,h文件
3.添加连接选项/noentry
dll部分完成

app部分
1.添加成员变量
HINSTANCE m_hLangDLL;

2.InitInstance()内添加
AfxEnableControlContainer();
 m_hLangDLL=::LoadLibrary("chinese.dll");
 AfxSetResourceHandle(m_hLangDLL);

3.释放
if(m_hLangDLL)
  AfxFreeLibrary(m_hLangDLL);

原文地址:https://www.cnblogs.com/ahuo/p/1188583.html