log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- 10 RISC OS gift ideas for Christmas (News:)
- Drag'N'Drop Autumn edition now available (News:)
- !DualHead puts 2 screens in one (News:)
- RISC OS London Show 2017 - Notes from the talks (News:6)
- November News (News:)
- !Organizer 2.28 reviewed (News:2)
- !OBrowse reviewed (News:10)
- Aemulor (Gen:16)
- DDE reaches release 28 and above (News:)
- Elesar quicks dispels stormy clouds (News:2)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
Site Search
 
Article archives
The Icon Bar: Programming: RO5 and 26Bit error.
 
  RO5 and 26Bit error.
  DavidS (04:05 15/11/2013)
  sirbod (09:14 15/11/2013)
    DavidS (12:42 15/11/2013)
      DavidS (16:38 16/11/2013)
 
David Saunders Message #122785, posted by DavidS at 04:05, 15/11/2013
Member
Posts: 14
On loading an AIF or Module that is not flaged as 32Bit compatable RISC OS 5.xx generates an error, usualy displayed in an error box.

My question is how does one trap this, what are the details?

Does it go through ErrorV if so what is the Owner, Error number, etc?

Or is there some other way of handling this?

I have been pulling my hair on this one for a couple of days, it would be helpful to know so I can more easily get many 26Bit programs and modules to load with out having to trap a bunch of SWIs.
  ^[ Log in to reply ]
 
Jon Abbott Message #122786, posted by sirbod at 09:14, 15/11/2013, in reply to message #122785
Member
Posts: 563
I was pondering the very same question, my original thought as I'm already trapping the SWI vector was to just check the file before loading it.

Not exactly elegant though, it would be better to handle only known 26bit files. The obvious solution that springs to mind would be for the OS to offer the file around via a service, I doubt that was ever implemented though.

I'm guessing you've tried monitoring ErrorV and aren't seeing the error?
  ^[ Log in to reply ]
 
David Saunders Message #122788, posted by DavidS at 12:42, 15/11/2013, in reply to message #122786
Member
Posts: 14
Yes I am not seeing any thing that is different from an app just crashing. I know there must be something somewhere. It is possible that there is something I am overlooking,

And looking at every absolute and module as it is loaded is exactly how I am playing with at this time.
  ^[ Log in to reply ]
 
David Saunders Message #122793, posted by DavidS at 16:38, 16/11/2013, in reply to message #122788
Member
Posts: 14
Ok I seem to have figured this out. I am going to just watch the filing vectors and respond when an application is being loaded, this will require a little extra testing though should be the least intrusive way to accomplish the goal.

This after a short discusion on the ROOL forum and some personal research.
  ^[ Log in to reply ]
 

The Icon Bar: Programming: RO5 and 26Bit error.