Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Required header <conio.h> of C-library

Required header <conio.h> of C-library

Scheduled Pinned Locked Moved C / C++ / MFC
csharpquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oOomen
    wrote on last edited by
    #1

    hi, do someone know witch DLL file can contains all nio functions? like this one: int _kbhit( void ); //Checks the console for keyboard input. i want to import this function in my c# application. thank u in advance!

    P 1 Reply Last reply
    0
    • O oOomen

      hi, do someone know witch DLL file can contains all nio functions? like this one: int _kbhit( void ); //Checks the console for keyboard input. i want to import this function in my c# application. thank u in advance!

      P Offline
      P Offline
      Prakash Nadar
      wrote on last edited by
      #2

      LIBC.LIB Single thread static library, retail version LIBCMT.LIB Multithread static library, retail version MSVCRT.LIB Import library for MSVCRT.DLL, retail version anyways i belive in C# there must be something similar to kbhit.


      MSN Messenger. prakashnadar@msn.com

      O 1 Reply Last reply
      0
      • P Prakash Nadar

        LIBC.LIB Single thread static library, retail version LIBCMT.LIB Multithread static library, retail version MSVCRT.LIB Import library for MSVCRT.DLL, retail version anyways i belive in C# there must be something similar to kbhit.


        MSN Messenger. prakashnadar@msn.com

        O Offline
        O Offline
        oOomen
        wrote on last edited by
        #3

        hi, thank u for ur replay. i've found this in msvcr71.dll too. i do not think so. everything u have in c# is Console class. best regards!

        P 1 Reply Last reply
        0
        • O oOomen

          hi, thank u for ur replay. i've found this in msvcr71.dll too. i do not think so. everything u have in c# is Console class. best regards!

          P Offline
          P Offline
          Prakash Nadar
          wrote on last edited by
          #4

          oOomen wrote: i've found this in msvcr71.dll too you will need msvcr71.lib to use that dll.


          MSN Messenger. prakashnadar@msn.com

          O 1 Reply Last reply
          0
          • P Prakash Nadar

            oOomen wrote: i've found this in msvcr71.dll too you will need msvcr71.lib to use that dll.


            MSN Messenger. prakashnadar@msn.com

            O Offline
            O Offline
            oOomen
            wrote on last edited by
            #5

            Mr.Prakash wrote: you will need msvcr71.lib to use that dll. mMmm... i just know this way! [System.Runtime.InteropServices.DllImport("msvcr71.dll")] static extern int _kbhit(); public bool KeyboardHit { get { return System.Convert.ToBoolean(_kbhit()); } }

            P 1 Reply Last reply
            0
            • O oOomen

              Mr.Prakash wrote: you will need msvcr71.lib to use that dll. mMmm... i just know this way! [System.Runtime.InteropServices.DllImport("msvcr71.dll")] static extern int _kbhit(); public bool KeyboardHit { get { return System.Convert.ToBoolean(_kbhit()); } }

              P Offline
              P Offline
              Prakash Nadar
              wrote on last edited by
              #6

              Oh ok, you know the best how to import it in the C# application, coz i dont know anything about C# atleast for now. :-)


              MSN Messenger. prakashnadar@msn.com

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups