Thread: Howto make own application for remote control handling

  1. #16
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Try duplicating the window class and window name that receives the messages - then P3XRCtl may send the messages directly to you without the TV app running. In other words, P3XRCtl may just do a simple FindWindow() on a known window name/class.

    Another way to avoid a global hook is to inject a dll into the TV app and "subclass" the windows procedure of the target window - so you're only hooking the one instance.


  2. #17
    Registered User
    Join Date
    Aug 2007
    wha, I can't believe a simple trick like that actually worked
    I tried it earlier but I didn't set the window class name to the same, but now I did and I'm getting the messages the normal way.
    This instantly solves all the hooking and threadid problems and without running the normal tv app at all.
    Sir I salute you ^^

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How can i make a normal application
    By jobbie in forum C++ Programming
    Replies: 18
    Last Post: 01-22-2006, 05:59 PM
  2. Replies: 20
    Last Post: 12-09-2004, 07:52 PM
  3. howto make a static library?
    By mart_man00 in forum C Programming
    Replies: 2
    Last Post: 07-19-2003, 11:10 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. How do you make a 'Slider' control?
    By Okiesmokie in forum Windows Programming
    Replies: 4
    Last Post: 04-26-2002, 03:49 PM

Tags for this Thread