Hardware Access

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sakthikumaran
    New Member
    • Feb 2008
    • 16

    Hardware Access

    Can i access the sound card and other devices through c/c++ programming?
    (I'm using Tubo C++ IDE (16-bit) version in windows XP)
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Of course you can access your sound card provided your sound card is a 16-bit sound card.

    Comment

    • sakthikumaran
      New Member
      • Feb 2008
      • 16

      #3
      Could you tell me any library functions that can be used to access the device(sound card).

      for examle:
      to get the mouse cursor and access, we may use int86() function that is available in the dos.h file

      Comment

      • Register456
        New Member
        • Feb 2008
        • 4

        #4
        generally divice providers gives that reasources to os providers.
        with inline assembly sure you can.i think on lov level they callin it midi sysnthisyzers .
        so you hawe to define any sounnd signal yourself if you want direct access.
        some libraries on source forge exists about that.
        but i cant remember its name right now.

        Comment

        • sakthikumaran
          New Member
          • Feb 2008
          • 16

          #5
          Thank you for your reply!

          Comment

          • looker
            New Member
            • Dec 2007
            • 18

            #6
            Originally posted by sakthikumaran
            Can i access the sound card and other devices through c/c++ programming?
            (I'm using Tubo C++ IDE (16-bit) version in windows XP)
            Kernel programming, i think, is what you need. With kernel programming, everything is in your hands even your OS. You can do whatever you want. but it is more dangerious, if you have made the mistake even the smallest one, you can bring BSD ( blue screen of death ). Microsoft has released the DDK version 6.0.0.x, the lastest version of DDK supported up to Vista.
            I would recommend if you really want to access the real devices on system, you need to have DDK for windows.

            Comment

            Working...