| View previous topic :: View next topic |
| Author |
Message |
JonB

Joined: 05 Aug 2005 Posts: 91 Location: Hull, UK
|
Posted: Mon Sep 19, 2005 8:00 pm Post subject: OPX and OXH |
|
|
I apologise to all those who are seasoned Psion programmers but my bit of knowledge was, until recently, in the restraints of the built in Psion OPL commands (my needs were few needless to say).
However now I want to be able to use other OPXs, namely SysRam1 and its RunExeWithCmd procedure and apparently I need the OXH as well. Now I am not sure whether I'm being stupid or this isn't as easy as it seems since apart from my little OPL knowledge I'm a PC only C++ guy and this is different for me.
Anyone be able to help?
|
|
| Back to top |
|
 |
Jonas
Joined: 13 Jul 2005 Posts: 95 Location: Gemany
|
Posted: Mon Sep 19, 2005 8:10 pm Post subject: |
|
|
Hi Jon,
Well, this is easy:
You will only need to put e.g. SysRam1.oxh (as I know it's included in the WinsOPX.zip file from Pscience5-Page) to a folder called !:\System\OPL\.
If you want to use a command from the above opx, you need to put a line at the beginning of your program: INCLUDE "SysRam1.oxh"
That's all
Greets, Jonas |
|
| Back to top |
|
 |
JonB

Joined: 05 Aug 2005 Posts: 91 Location: Hull, UK
|
Posted: Mon Sep 19, 2005 8:59 pm Post subject: OXH |
|
|
Thanks for the quick reply Jonas, I had figured the include (it was C++ enough for my brain ) however I can't find the OXH in the WinsOPX.zip file you suggested, only the OPX is included in the sysram1.sis file.
I have tried the Wins release OXH from the OPL SDK from Psion but it's only the v1.00 of sysram and doesn't have the RunExeWithCmd function as that was implemented in v5.10.
I don't suppose anyone knows where else to download OPL programming stuff from?
Oh, and I've already tried 3lib. |
|
| Back to top |
|
 |
MartinG Site Admin

Joined: 22 May 2005 Posts: 151 Location: Berkshire, UK
|
Posted: Tue Sep 20, 2005 10:45 am Post subject: |
|
|
Hi Jon,
I'll upload a zip with all the standard opx's (and oxh's) to the site tonight...
Cheers,
Martin |
|
| Back to top |
|
 |
|