home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4961 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.7 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: peterf@vnet.ibm.com (Peter Forsberg)
  3. Message-ID: <19920914.223929.590@almaden.ibm.com>
  4. Date: Tue, 15 Sep 92 07:33:26 SWE
  5. Newsgroups: comp.os.os2.programmer
  6. Subject: Re: Device Monitor in 1.3
  7. Reply-To: peterf@vnet.ibm.com
  8. Organization: IBM Corporation
  9. Disclaimer: This posting represents the poster's views, not those of IBM
  10. News-Software: UReply 3.0
  11. References: <1992Sep15.023010.7240@ttinews.tti.com>
  12. Lines: 31
  13.  
  14. In <1992Sep15.023010.7240@ttinews.tti.com> Joe Hsu writes:
  15. >Does anybody know if the device monitor feature is
  16. >supported under PM in 1.3?
  17. >
  18. >I was able to do DosMonOpen(), DosMonReg(), DosMonRead(),
  19. >and DosMonWrite() for KBD$ in OS/2 full screen mode under 1.3.
  20. >
  21. >When I tried to do the same from a PM program, the DosMonReg()
  22. >reported that the monitor is not supported.  Why?  I read both
  23. >the Duncan book and MS OS/2 Prog. Ref. and nothing was mentioned
  24. >this would not work. The diagram in Duncan's book (page 421)
  25. >shows this would work.
  26. >
  27. >Can somebody help?  Thank you in advance!
  28. >
  29. >Have A Nice Day....
  30. >Joe Hsu    Citicorp(+)TTI            Email: hsu@soldev.TTI.COM
  31. >3100 Ocean Park Blvd. Q34            Voice: (310) 450-9111 Ext. 3117
  32. >Santa Monica, California  90405      Fax  : (310) 450-3932
  33. >{philabs,psivax,pyramid,quad1,rdlvax,retix,rutgers}!ttidca!hsu
  34. >
  35.  
  36. The return code is correct. Device monitors (KBD/MOU) are not supported for
  37. the PM session (and not for the DOS session either) under OS/2 1.3+. Try
  38. using a PM system input hook instead.
  39.  
  40. Peter
  41. --
  42. Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
  43.                                   d88-pfo@nada.kth.se        (alternate)
  44. Disclaimer: This posting represents the poster's views, not those of IBM
  45.