Click here to Skip to main content
15,916,846 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VRML in OpenGL and MFC Pin
Stuart Dootson24-Feb-09 4:14
professionalStuart Dootson24-Feb-09 4:14 
GeneralRe: VRML in OpenGL and MFC Pin
Pompeyo24-Feb-09 4:24
Pompeyo24-Feb-09 4:24 
GeneralRe: VRML in OpenGL and MFC Pin
Stuart Dootson24-Feb-09 5:23
professionalStuart Dootson24-Feb-09 5:23 
GeneralRe: VRML in OpenGL and MFC Pin
Pompeyo24-Feb-09 23:02
Pompeyo24-Feb-09 23:02 
QuestionGet HWND of desired window Pin
komofilms7724-Feb-09 2:42
komofilms7724-Feb-09 2:42 
AnswerRe: Get HWND of desired window Pin
Hamid_RT24-Feb-09 2:46
Hamid_RT24-Feb-09 2:46 
GeneralRe: Get HWND of desired window Pin
komofilms7724-Feb-09 2:53
komofilms7724-Feb-09 2:53 
GeneralRe: Get HWND of desired window Pin
«_Superman_»24-Feb-09 3:10
professional«_Superman_»24-Feb-09 3:10 
Do an EnumWindows to enumerate all top level windows.
For each window handle that is returned in the EnumWindowsProc, call GetWindowThreadProcessId to get the process Id to which the window belongs.

Now you can use the following APIs to get the name of the EXE.

OpenProcess<br />
GetModuleBaseName<br />
CloseProcess


«_Superman
I love work. It gives me something to do between weekends.

AnswerRe: Get HWND of desired window Pin
David Crow24-Feb-09 3:09
David Crow24-Feb-09 3:09 
Questioncommand line from exe Pin
trioum24-Feb-09 2:39
trioum24-Feb-09 2:39 
AnswerRe: command line from exe Pin
David Crow24-Feb-09 2:41
David Crow24-Feb-09 2:41 
AnswerRe: command line from exe Pin
Hamid_RT24-Feb-09 2:44
Hamid_RT24-Feb-09 2:44 
QuestionGenerate the list of installed application list from a remote system. Pin
geogen george24-Feb-09 1:36
geogen george24-Feb-09 1:36 
AnswerRe: Generate the list of installed application list from a remote system. Pin
Hamid_RT24-Feb-09 2:41
Hamid_RT24-Feb-09 2:41 
AnswerRe: Generate the list of installed application list from a remote system. Pin
David Crow24-Feb-09 3:01
David Crow24-Feb-09 3:01 
QuestionProject using SAPI Pin
Sumanta Banerjee24-Feb-09 1:00
Sumanta Banerjee24-Feb-09 1:00 
AnswerRe: Project using SAPI Pin
Maximilien24-Feb-09 2:25
Maximilien24-Feb-09 2:25 
AnswerRe: Project using SAPI Pin
Chandrasekharan P24-Feb-09 2:28
Chandrasekharan P24-Feb-09 2:28 
AnswerRe: Project using SAPI Pin
Hamid_RT24-Feb-09 2:48
Hamid_RT24-Feb-09 2:48 
JokeRe: Project using SAPI Pin
Rajesh R Subramanian24-Feb-09 5:08
professionalRajesh R Subramanian24-Feb-09 5:08 
GeneralRe: Project using SAPI Pin
CPallini24-Feb-09 5:48
mveCPallini24-Feb-09 5:48 
GeneralRe: Project using SAPI Pin
Rajesh R Subramanian25-Feb-09 1:24
professionalRajesh R Subramanian25-Feb-09 1:24 
GeneralRe: Project using SAPI Pin
CPallini25-Feb-09 1:38
mveCPallini25-Feb-09 1:38 
QuestionWill the destructor called in case of excetion occures, in this case Pin
ptr_Electron24-Feb-09 0:53
ptr_Electron24-Feb-09 0:53 
AnswerRe: Will the destructor called in case of excetion occures, in this case Pin
«_Superman_»24-Feb-09 0:57
professional«_Superman_»24-Feb-09 0:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.