Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Nokia 9500 and OPX

11 replies · 6,092 views · Started 05 January 2005

Is there some problem using opx in Nokia 9500 ?

I write program in phone and if I but there, example "INCLUDE system.oxh" it gives error "Local device must be A-Z".

If I don't use opx, everything works great.

I use "9200-OPL-DevPack-2004-02-29".

I haven't heard others complain about this, but it's probably an error in the 9500 release.

Can you send me a detailed description of the problem (also mention your phone type and firmware version) at arjenb at sourceforge dot net ? Then I'll include in the bugs database so it can be fixed in a next release.

What about typing :

INCLUDE "System.oxh"

instead of

INCLUDE System.oxh

?

My Nokia 9290 Communicator gives the same error message when compiling the above line.

Roberto wrote:What about typing :

INCLUDE "System.oxh"

instead of

INCLUDE System.oxh

?

My Nokia 9290 Communicator gives the same error message when compiling the above line.

Thats the solution 😊

I was very stupid, not to see this. In OPL guide there is "INCLUDE file$" and ofcourse that means if don't use string variable you should use example "System.oxh".

Thank you !!!!!

@Roberto: thanks for seeing this. I completely overlooked it. :embarasse

The error message is kind of cryptic though. "Syntax error" would be a better description. I'll check the source code of the translator and see where this comes from. Maybe we can fix this in the next OPL release for the Communicator

Arjen,

However, as noted in Soundforge, there *are* problems with System.opx in S80 v2, for instance related to functions such as GetHAL and GetMachineUID.

cheers
Martin

martinharnevie wrote:Arjen,

However, as noted in Soundforge, there *are* problems with System.opx in S80 v2, for instance related to functions such as GetHAL and GetMachineUID.

cheers
Martin

As soon as I get the 9500 SDK installed I'm going to have a look and try to fix them. Should get some results be before the end of the week.

cheers, Arjen

Does anyone know how to use KSyGetHAL function from system.oxh ? i don't understand how to write it .... it requires something like SyGetHAL&😞attribute&,BYREF value&😉 , i guess the values are from "HAL valuses" specified at the beginning of the oxh, but what is the atribute ? are the constants from attribute properties ?..... please help

PS i use a 9500 device to compile my applications 😊

Sadly I've lost my 9300i.

The only OPL development I do now is on the ER5 Emulator.

But if I recall correctly; the list of HAL values is for the attribute parameter. The value returned by reference (BYREF) is the result.

I also recall that the GetHAL command was very buggy and largely incomplete.

dose any one know how can i get the virtual cursor (mouse on comunicator...) x and y position ???