IR8.01 Beta posted

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

When adding the 7940 to IRTool, I used IR to look up the signature, and I got my elusive "Access Violation @ 0045870C in module ir.exe 00000048" IR 8.01 RC6. Again I have no idea where I was in IR, it was just open so I went over an did a select. Ususally I get my Access Violation when downloading.

Interesting, this time, I only had 1 copy of IR open, and even though it LOOKS like its changed remotes, all the key codes are screwed up. I'll download the latest and greatest, and keep looking for the cause.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

I downloaded the new IR8 and have beat on it and finally I found a way to reproduce the error! Open an IR file that has a device upgrade. Switch to the DEVICE Tab. Move the cursor on the device layout down to about key 8, then do a FILE->NEW->Select and change remotes. You'll get the error and then IR will start to misbehave.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
mathdon
Expert
Posts: 4725
Joined: Tue Jul 22, 2008 8:53 am
Location: Cambridge, UK

Post by mathdon »

Thanks, Vicky. Now that it is reproducible I should be able to crack it. I'll look into it.
______________
Graham
mathdon
Expert
Posts: 4725
Joined: Tue Jul 22, 2008 8:53 am
Location: Cambridge, UK

Post by mathdon »

vickyg2003 wrote:I downloaded the new IR8 and have beat on it and finally I found a way to reproduce the error! Open an IR file that has a device upgrade. Switch to the DEVICE Tab. Move the cursor on the device layout down to about key 8, then do a FILE->NEW->Select and change remotes. You'll get the error and then IR will start to misbehave.
I have tracked the source of this Access Violation error. I hope it is the only one! :)

The root cause is selecting a row on the KeyMap grid on the Devices tab. I seem to have accidentally changed the MouseDown event handler for that grid to the wrong one. As a result, this corrupts the internal data arrays that hold information about the ToolBar. Any following action that causes the ToolBar to be reset, such as doing a File->New, will cause the error. Making any change of options that cause buttons to be added or removed from the ToolBar, such as selecting Advanced/Enable Raw Download, will also cause it.

It seems to happen only if you select row 3 or higher on the KeyMap grid, selecting rows 1 or 2 seem to cause an oddity in the selection process itself.

Since this is an unusual combination of circumstances, I intend to wait until there is greater need for a revised version. Now that IR 8.01 is fully released, other bugs may also be found that need fixing.
________________
Graham
Post Reply