c++ cannot read keys from flash(.swf) window?

Discussion in 'Programming' started by Racheli, Apr 18, 2006.

  1. #1
    Who can help me with the following c++ function?

    The function should
    1. run swf movie
    2. read keyboard keys (while the swf is on fullScreen mode) <== this is the real issue here
    3. write an xml with the results to the hard disk.

    Thanks,

    Racheli
     
    Racheli, Apr 18, 2006 IP
  2. Racheli

    Racheli Member

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    I already tried:
    1. CreateProcess() - this part works fine (I saved the processID)
    2. this does not work -
    2.1 Get hwnd From ProcessId using EnumWindows() (in the CALLBACK EnumWindowsProc() I got all processIDs and compare to the above one)
    2.2 Sleep until the hwnd != Null
    2.3 Then I used direct input to read the keys

    3. What XML library do you recommend?
     
    Racheli, Apr 18, 2006 IP