Announcement

Collapse
No announcement yet.

Error 5 using new monitors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 5 using new monitors

    We are using PowerBasic 3.5 for dos and have written
    several programs to display graphs using the screen 12
    function.

    Recently we changed the monitor on one of these computers
    to a new Compaq s510 monitor. When we tried to run the
    same program on the same computer we started getting
    Error 5, Illegal function call when executing the
    screen 12 function.

    What is causing this when all we did is change the monitor?

    ------------------

  • #2
    You get error 5 on 'SCREEN n' if monitor does not support mode 'n'.

    But I don't know if that's a function of the monitor, video card or some combination thereof.

    All I know is when that happened to me, I picked another mode and it worked fine.

    MCM
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X