🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1111

Re: Device Monitor in 1.3

#1111
From: Peter Forsberg
Date: Tue, 15 Sep 1992 07:33
31 lines
1786 bytes
In <1992Sep15.023010.7240@ttinews.tti.com> Joe Hsu writes:
>Does anybody know if the device monitor feature is
>supported under PM in 1.3?
>
>I was able to do DosMonOpen(), DosMonReg(), DosMonRead(),
>and DosMonWrite() for KBD$ in OS/2 full screen mode under 1.3.
>
>When I tried to do the same from a PM program, the DosMonReg()
>reported that the monitor is not supported.  Why?  I read both
>the Duncan book and MS OS/2 Prog. Ref. and nothing was mentioned
>this would not work. The diagram in Duncan's book (page 421)
>shows this would work.
>
>Can somebody help?  Thank you in advance!
>
>Have A Nice Day....
>Joe Hsu    Citicorp(+)TTI            Email: hsu@soldev.TTI.COM
>3100 Ocean Park Blvd. Q34            Voice: (310) 450-9111 Ext. 3117
>Santa Monica, California  90405      Fax  : (310) 450-3932
>{philabs,psivax,pyramid,quad1,rdlvax,retix,rutgers}!ttidca!hsu
>

The return code is correct. Device monitors (KBD/MOU) are not supported for
the PM session (and not for the DOS session either) under OS/2 1.3+. Try
using a PM system input hook instead.

Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Technical Details
Message-ID: <19920914.223929.590@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
References: <1992Sep15.023010.7240@ttinews.tti.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
From: peterf@vnet.ibm.com (Peter Forsberg)
Message-ID: <19920914.223929.590@almaden.ibm.com>
Date: Tue, 15 Sep 92 07:33:26 SWE
Newsgroups: comp.os.os2.programmer
Subject: Re: Device Monitor in 1.3
Reply-To: peterf@vnet.ibm.com
Organization: IBM Corporation
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
References: <1992Sep15.023010.7240@ttinews.tti.com>
Lines: 31