资源分离问题

xxhfortrue 2003-12-12 06:36:19
一个mfc dll的对话框!
我将其中的资源又分离在了另一个dll之中,结果对话框不能显示!
...全文
43 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
glacierrr 2003-12-12
  • 打赏
  • 举报
回复
void AfxSetResourceHandle( HINSTANCE hInstResource );

Parameters

hInstResource

The instance or module handle to an .EXE or DLL file from which the application’s resources are loaded.之前用LoadLibrary进来的

Remarks

Use this function to set the HINSTANCE handle that determines where the default resources of the application are loaded.
bmon_xyz 2003-12-12
  • 打赏
  • 举报
回复
显示之前需要先切换资源句柄。

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧