controlling a application throgh external key(vc++)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saranjegan
    New Member
    • Feb 2007
    • 50

    controlling a application throgh external key(vc++)

    hello,

    am in need to access a application when i press an external keypad (which i had connected to the serial port of the system and am recieving a value at one press of the key,i can open the port and read the value),what am need to clarify is whether there is any function exists to open the application for each press of that external key ,if not how can we implement that. secondly is there is anyway to map external keypad input to our pc keyboard
  • AdrianH
    Recognized Expert Top Contributor
    • Feb 2007
    • 1251

    #2
    Originally posted by saranjegan
    hello,

    am in need to access a application when i press an external keypad (which i had connected to the serial port of the system and am recieving a value at one press of the key,i can open the port and read the value),what am need to clarify is whether there is any function exists to open the application for each press of that external key ,if not how can we implement that. secondly is there is anyway to map external keypad input to our pc keyboard
    Serial communication requires that you open the connection and keep it open. If you close it you will not be able to determine if new data is coming through the port.

    As for the mapping of the keypad, I don't see why not. What are your requirements?


    Adrian

    Comment

    Working...