hi there, i've been trying for the past 3 days to get it right, if anyone can help or if you have a snippet or class that can do what i need, it would be very helpful, basically i need to output a resource directory
Code:
TImageResourceDirectory = packed record
Characteristics: DWord;
TimeDateStamp: DWord;
MajorVersion: Word;
MinorVersion: Word;
NumberOfNamedEntries: Word;
NumberOfIdEntries: Word;
end;
TImageResourceDirectoryEntry = packed record
NameRVAorID : DWord; //The address of a string that gives the Type, Name, or Language ID entry, depending on level of table.
//A 32-bit integer that identifies the Type, Name, or Language ID entry.
OffsetRVA : DWord; //High bit 0. Address of a Resource Data entry (a leaf).
//High bit 1. The lower 31 bits are the address of another resource directory table (the next level down).
end;
TImageResourceDataEntry = packed record
OffsetToData: DWORD;
Size: DWORD;
CodePage: DWORD;
Reserved: DWORD;
end;
http://msdn.microsoft.com/en-us/magazine/ms809762.aspx
i have used this for reference, but it does not have alot of information, i also am using the PE spec file rev 8.2 but still with no luck, please help. thanks in advance.
EDIT:
never mind i solved my problem.
Bookmarks