home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4785 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!
  3. From: cnadler@vnet.ibm.com (Cliff Nadler)
  4. Subject: Re: DosDevIOCtl
  5. Sender: @watson.ibm.com
  6. Message-ID: <1992Sep07.171731.10950@watson.ibm.com>
  7. Date: Mon, 07 Sep 92 17:17:31 GMT
  8. News-Software: IBM OS/2 PM RN (NR/2) v0.11 by O. Vishnepolsky and R. Rogers
  9. Lines: 20
  10. Reply-To: cnadler@vnet.ibm.com (Cliff Nadler)
  11. References: <1992Sep7.014647.4906@news.Hawaii.Edu>
  12. Organization: IBM T. J. Watson Research
  13.  
  14. In  <1992Sep7.014647.4906@news.Hawaii.Edu>  tholen@hale.ifa.hawaii.edu (Dave Tholen) writes:
  15. > I have a 16-bit OS/2 application that I would like to recompile for 32-bit
  16. > OS/2.  This application currently uses KbdCharIn to retrieve keystrokes
  17. > from the keyboard.  There is no 32-bit version of KbdCharIn, though it
  18. > appears that DosDevIOCtl, Category 4, Function 74H, "Read Character Data
  19. > Records" may be a satisfactory substitute.
  20.  
  21. Keep using KbdCharIn. It's still there, but it's not in the toolkit. I believe
  22. the header files still have the definition for it (but look for Kbd16CharIn),
  23. and you'll need os2286.lib on your link step.
  24.  
  25. It's much more fun than dealing with the new 32-bit DosDevIOCTL if you don't
  26. have the manuals.
  27.  
  28. --
  29. Cliff Nadler (cnadler@vnet.ibm.com)
  30. IBM Federal Systems Company - TEAM OS/2
  31.  
  32. Disclaimer: This post represents the views of the poster, not IBM Corporation.
  33.