![]() |
|
#7
|
|||
|
|||
|
Hi
I tested it, and I founded the bug. I used this code: Data = (PIMAGE_RESOURCE_DATA_ENTRY) addr; Data->OffsetToData = NewRsrcData; NewRsrcData+=Data->Size; But in ASM 'Data->Size' had numbers (0268h,014h,01E2h,...) and here were the problem. 'Data->OffsetToData' must end only with numbers 0 and 8. Then it work fine ![]() My new code: Data = (PIMAGE_RESOURCE_DATA_ENTRY) addr; Data->OffsetToData = NewRsrcData; NewRsrcData+=((int)(Data->Size/8))*8; if ((Data->Size%8)!=0) NewRsrcData+=8; |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Resource editor for VB6 | Zeocrack | General Discussion | 6 | 02-07-2024 14:20 |