I have a problem to read the data of screen resolution.
With the command
nWidth := AppDeskTop():currentSize()[1]
an error is displayed:
oError:args :
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: J
oError:cargo : NIL
oError:description : Parameter hat falschen Typ
oError:filename :
oError:genCode : 2
oError:operation : currentSize
oError:osCode : 0
oError:severity : 2
oError:subCode : 1025
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
Include files are std / xbp / appevent.ch are foreseen.
Has anyone an idea what I have missed?
Thanks in advance
Dieter
Sreen resolution
Re: Sreen resolution
This makes no sense.
It appears that AppDeskTop() is not returned an XbpIWindow() object.
Are you compiling and linking in GUI mode?
It appears that AppDeskTop() is not returned an XbpIWindow() object.
Are you compiling and linking in GUI mode?
The eXpress train is coming - and it has more cars.
-
- Posts: 38
- Joined: Mon Feb 15, 2010 4:01 am
Re: Sreen resolution
Hello Roger,
many thanks for your hint. The definitions in the XPJ-file were
GUI=yes
LINK_FLAGS= /PM:PM
but that was not enough.
Following your hint I added at
COMPILE_FLAGS= ../dEXPRESS19 !
And that worked.
Thank You
Dieter
many thanks for your hint. The definitions in the XPJ-file were
GUI=yes
LINK_FLAGS= /PM:PM
but that was not enough.
Following your hint I added at
COMPILE_FLAGS= ../dEXPRESS19 !
And that worked.
Thank You
Dieter