解决方案 »
- vc 动态 分割窗口 的问题
- 在调用自己编写的控件的时候,老是在不停的闪烁!!
- 求教关于屏幕内容刷新
- 一个问题在这好几天了都没有解决!郁闷啊!!高分寻高手解决!1
- 多线程中::SendMessage()遇到的怪问题
- Gina.Dll无法加载的问题????????
- 关于写字板插入图像后排版的问题!
- 如何让三个可执行文件依次执行
- 讨论一下EXE导出操作界面的函数供DLL使用(实现类似Eclipse插件功能)
- 软件从设计到实施,应该如何编写文档,如何将文档转换成代码?,是否应该细到每个局部变量?这样做对我来说很困难,但是我尝试一下?
- 如何把汇编融入到VC++中?
- 没有人肯帮我吗??给我起个头,谢谢你了:)
Each Resource Data Entry describes an actual unit of raw data in the Resource Data area, and has the following format:Offset Size Field Description
0 4 Data RVA Address of a unit of resource data in the Resource Data area.
4 4 Size Size, in bytes, of the resource data pointed to by the Data RVA field.
8 4 Codepage Code page used to decode code point values within the resource data. Typically, the code page would be the Unicode code page.
12 4 Reserved (must be set to 0)
找到icon的Data RVA就可以了。
The directory entries make up the rows of a table. Each Resource Directory Entry has the following format. Note that whether the entry is a Name or ID entry is indicated by the Resource Directory Table, which indicates how many Name and ID entries follow it (remember that all the Name entries precede all the ID entries for the table). All entries for the table are sorted in ascending order: the Name entries by case-insensitive string, and the ID entries by numeric value.Offset Size Field Description
0 4 Name RVA Address of string that gives the Type, Name, or Language identifier, depending on level of table.
0 4 Integer ID 32-bit integer that identifies Type, Name, or Language.
4 4 Data Entry RVA High bit 0. Address of a Resource Data Entry (a leaf). (這一行)
4 4 Subdirectory RVA High bit 1. Lower 31 bits are the address of another Resource Directory Table (the next level down).