Screen Resolution

Martin Wierich martinw@cs.kun.nl
Fri, 23 Apr 1999 15:47:02 +0200


Hi Paulo,

In a short time the Object I/O version 1.1 will be released, and it will
contain the function you are looking for.

greetings
  Martin Wierich

Paulo Alfredo Mainieri Junior wrote:

> Dears Programmers:
>
> I'm looking for a function capable to return the screen resolution that
> is been used. I found a function called "OSScreenResolution" in
> OSKERNEL.DCL, in the OsIO directory. I tried to use it but fail every
> time. This is my program test:
>
> module test
> import oskernel
> Start = OSScreenResolution 0
>
> and the message error is:
>
>         "error L2029: 'OSScreenResolution' : unresolved external"
>
> What does that mean? How can I use it? Is that the correct function to
> be used?
> My CLEAN is an OS/2 version. I used the compilation option:
>
>                         "clm -p -sl -d test"
>
> I'm very thankful for help.
>
> Paulo.