看看MSDN的Resource函数,其中
UpdateResourceThe UpdateResource function adds, deletes, or replaces a resource in an executable file. BOOL UpdateResource(
HANDLE hUpdate, // update-file handle
LPCTSTR lpType, // address of resource type to update
LPCTSTR lpName, // address of resource name to update
WORD wLanguage, // language identifier of resource
LPVOID lpData, // address of resource data
DWORD cbData // length of resource data, in bytes
);
UpdateResourceThe UpdateResource function adds, deletes, or replaces a resource in an executable file. BOOL UpdateResource(
HANDLE hUpdate, // update-file handle
LPCTSTR lpType, // address of resource type to update
LPCTSTR lpName, // address of resource name to update
WORD wLanguage, // language identifier of resource
LPVOID lpData, // address of resource data
DWORD cbData // length of resource data, in bytes
);
解决方案 »
- 关于带滚动条窗口的疑问
- 为什么用vc调试exe的结果,和我去debug文件夹下直接运行exe的结果不一样
- 使用AddIPAddress增加ip地址后,ip不能立即生效,如果立即创建socket,则会失败,请问用什么API等待?
- 改变控件颜色问题
- 做一个自动聊天的程序遇到的问题
- 哪位兄弟姐妹知道 上海先锋商泰 的工资和待遇怎么样啊?
- 网络编程是不是VC最强?小弟菜鸟请教大家!
- 急急!求助各位大虾
- 制作带有对话框的ActiveX控件,遇到的问题!
- 请帮我解决一个错误?
- 请问: .h与.cpp中的#include有何区别?各有何意义?能重复吗?
- 在哪设置CWinThread::m_bAutoDelete
我想应该不是很难的事情。
UpdateResource这个函数好像只能在NT下用。我曾经在95下尝试过,没有成功。
关键是:NT下能成功吗?因为我也没有试过
2000可以,我试过。