Howto make own application for remote control handling

This is a discussion on Howto make own application for remote control handling within the Windows Programming forums, part of the Platform Specific Boards category; Try duplicating the window class and window name that receives the messages - then P3XRCtl may send the messages directly ...

  1. #16
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,691
    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.

    gg

  2. #17
    Registered User
    Join Date
    Aug 2007
    Posts
    40
    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 ^^

Page 2 of 2 FirstFirst 12
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-20-2003, 12:10 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM
  5. How do you make a 'Slider' control?
    By Okiesmokie in forum Windows Programming
    Replies: 4
    Last Post: 04-26-2002, 04:49 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21