跳转到帖子

搜索论坛

显示结果为标签'dll resource'。



更多搜索选项

  • 用标签来搜索

    用逗号分隔标签类型
  • 用作者来搜索

内容类型


论坛

  • 编程技术
    • C/C++
    • C#
    • PHP
    • JAVA
    • Linux
    • React
    • 编程QA
    • 武林秘籍
    • go语言
    • 开源框架
  • 交流
    • 转贴交流
    • 酷站分享
    • 游戏素材
    • 软件下载
    • 视频教程资料

Product Groups

没有可显示的结果。

博客

  • 墨香年少的博客

查找结果在...

查找包含的结果...


创建日期

  • 开始

    结束


最后更新

  • 开始

    结束


用数量来过滤...

注册日期

  • 开始

    结束


用户组


找到1个结果

  1. when you add the xml file to exe, if you open the exe by winrar, you can see the xml file. a new way is add xml file to a dll OK, let see the xml file's content <?xml version="1.0" encoding="UTF-8"?> <Window size="340,280" caption="0,0,0,35"> <Font id="0" name="Courier New Bold" size="22" bold="false"/> <VerticalLayout> <HorizontalLayout bkcolor="#FFff1a1a"/> <HorizontalLayout> <Button name="btn_close" font="0" text="duilib use dll resource" bkcolor="#FF00b33c"/> </HorizontalLayout> <HorizontalLayout bkcolor="#FFffd633"/> </VerticalLayout> </Window> and rename xml file: main_wnd.xml make main_wnd.xml to theme.zip 1. create a new project ( dll project ) add theme.zip to the resource, type is ZIPRES note: please copy theme.zip to :D:\duilib\project\resdll build project. you will get dll: 1>Finished generating code 1>resdll.vcxproj -> D:\duilib\project\duilib_hello\Release\resdll.dll ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== add code to app.cpp HINSTANCE hRCDll = ::LoadLibrary(_T("resdll.dll")); CPaintManagerUI::SetResourceDll(hRCDll); run exe you can download the dll project and duilib_hello project resdll.zip duilib_hello.zip
×
×
  • 创建新的...

重要信息

注册必须使用2-8个中文汉字作为账号