添加图像到.dll [英] adding an image to .dll

查看:90
本文介绍了添加图像到.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写一个应该为我的程序存储资源的DLL。如何在Visual Studio 2010中添加一个简单的.bmp图像到.dll?我一直在寻找一段时间,但没有找到任何有用的文档。谢谢。

Im writing a DLL that is supposed to store resources for my program. How can i add a simple .bmp image to a .dll in Visual Studio 2010? I I've been searching for a while but couldn't find any useful documentation. Thank you.

推荐答案

创建资源脚本。 此链接提供分步骤,创建资源脚本的步骤说明,以及添加位图和字符串等资源。

Create a resource script. This link provides step-by-step instructions for creating a resource script, as well as adding resources like bitmaps and strings.

这篇关于添加图像到.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆