Maybe you can help me here triumph, or anyone else for that matter.
I have users running my program on various operating systems, and am running into two common problems. The window\game window my program sends messages to and gets pixels from is an older direct x game coded in c++. When the user goes to full screen for some the program stops working. Now what has me pulling my hair out is on a win7 pro edition box using XP mode emulation my program runs fine. However... on windows7 home premium my user reports the program doesnt work..
I have a few things to isolate the issue to SendMessage(), and ahve tried using PostMessage() as well with the same outcome.
The program is getting the windows handle and not reporting an error. The registerhotkey is returning an error although this might be due to another program using the same hot key I havent looked into it yet. When I set my program to setpixel() to the game scren for troubleshooting it is painting on the games screen. So when my program using getpixel() locates a color of interest and sends a double click the failure is in the mouse not being double clicked to the location.
It is 32bit win7 OS.
I have googled quite a bit and cannot find information on why send message is not working on this OS, or if it should work at all. I dont know if sendmessage() should even work at all on win7 home premium etc.. Absolutely stumped.
Any information or workaround would be greatly appreciated.