I have been working on this project for a while and I am a bit confused with the information my research is showing me. Basically I am just trying to parse a .lnk file without the use of third party libs. I have been looking at msdn documentation on the file format and i am getting stuck at the LinkTargetIDList. on this page it has a sample link file dumped in hex format and explained steps at the bottom.
When the ShellLink structure ends on 0x4B and the TargetIDList starts, it says that the size of the next segment starts at 0x4C and reads
but the hex info on the top of the page says
0x4B 0x4C 0x4D
00 BD 00
Shouldn't the value be BD00 instead of 00BD. and if not, should i alter my code to read it like the documentation shows??
When the ShellLink structure ends on 0x4B and the TargetIDList starts, it says that the size of the next segment starts at 0x4C and reads
Quote
IDListSize: (2 bytes, offset 0x004C), 0x00BD, the size of IDList.
but the hex info on the top of the page says
0x4B 0x4C 0x4D
00 BD 00
Shouldn't the value be BD00 instead of 00BD. and if not, should i alter my code to read it like the documentation shows??