How to get HANDLE for an application say Outlook from my program
+1
A:
You need to get the process id of the process you want to get the handle for and use OpenProcess.
Here's an example for this as well: http://msdn.microsoft.com/en-us/library/ms686701(v=VS.85).aspx
Vinzenz
2010-10-12 09:36:54
+1 for answering the question that the OP actually wanted answered.
Steve Townsend
2010-10-12 20:08:00
A:
Probably try this:
HANDLE hOutlook = FindWindow("rctrl_renwnd32", NULL);
wengseng
2010-10-12 14:10:54