Relative offsets via View -> Record P... Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Hex Editing » Relative offsets via View -> Record Presentation « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Christian
Username: mxmxmx

Registered: N/A
Posted on Friday, Jan 18, 2008 - 13:10:   

I'm having a problem with relative offsets. I use View->Record Presentation, enable "Relative record offsets" and enter the starting address of the first record as well as its size. But when I do so, the status bar displays "Rel. Offset 20" (for example) when the cursor is over the first byte of my first record. Shouldn't it say "Rel. Offset 0" then?

BTW: I'm using WinHex 14.7
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann
Username: admin

Registered: 1-2001
Posted on Friday, Jan 18, 2008 - 13:36:   

Yes, should be. If you can find out more specifically under what circumstances the display is wrong, please let me know, as I cannot reproduce this here.
Top of pagePrevious messageNext messageBottom of page Link to this message

Christian
Username: mxmxmx

Registered: N/A
Posted on Friday, Jan 18, 2008 - 14:30:   

This seems to happen everytime when starting offset is not a multiple of the record size. I can reproduce it as follows:

- open any file
- switch display to hexadecimal offsets, if needed
- enable relative offsets
- enter (for example) 10 (hex) as record offset and 64 (dec) as record size

The status bar will then display "record 1, rel. offset 10" at the start of the first record (absolute offset 0x10).
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann
Username: admin

Registered: 1-2001
Posted on Sunday, Jan 20, 2008 - 21:12:   

OK, I see, it does not take the offset of the first record into account (if unequal to zero). Will be fixed with v14.7 SR-1. Thanks.

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.