Click here to Skip to main content
16,004,727 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: stl list error in memory.h Pin
Jonas Larsson3-Jun-04 22:42
Jonas Larsson3-Jun-04 22:42 
Generalerror C2143: syntax error : missing ';' before '.' Pin
elephantstar3-Jun-04 8:48
elephantstar3-Jun-04 8:48 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
David Crow3-Jun-04 8:51
David Crow3-Jun-04 8:51 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
palbano3-Jun-04 9:02
palbano3-Jun-04 9:02 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
vcplusplus3-Jun-04 10:19
vcplusplus3-Jun-04 10:19 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
Paul Ranson3-Jun-04 11:41
Paul Ranson3-Jun-04 11:41 
GeneralRe: error C2143: syntax error : missing ';' before '.' Pin
elephantstar3-Jun-04 12:47
elephantstar3-Jun-04 12:47 
GeneralRetrieving a processes STARTINFO (or desktop) Pin
Nnamdi Onyeyiri3-Jun-04 8:43
Nnamdi Onyeyiri3-Jun-04 8:43 
Hi.

I want to enumerate all of the processes that are running on a particular desktop. Enumerating all processes isnt the problem, its the filtering of them that is causing me trouble.

The desktop a process is to run on is specified in the STARTINFO passed to CreateProcess, however, as far as I can see, this is the only place where the desktop is specified, and the only function I can find to retrieve this information is GetStartupInfo, which will only return the STARTUPINFO structure for the calling process.

Any ideas?


To those who didn't make it, we will remember you. To those who did Green Alien | [Alien] is back. - Megan Forbes in Black Friday

Another Post by NnamdiOnyeyiri

GeneralRe: Retrieving a processes STARTINFO (or desktop) Pin
David Crow3-Jun-04 8:49
David Crow3-Jun-04 8:49 
GeneralRe: Retrieving a processes STARTINFO (or desktop) Pin
Nnamdi Onyeyiri3-Jun-04 9:00
Nnamdi Onyeyiri3-Jun-04 9:00 
GeneralService Restart Pin
Peter Weyzen3-Jun-04 7:56
Peter Weyzen3-Jun-04 7:56 
GeneralRe: Service Restart Pin
Anonymous3-Jun-04 18:43
Anonymous3-Jun-04 18:43 
GeneralRe: Service Restart Pin
palbano3-Jun-04 18:48
palbano3-Jun-04 18:48 
GeneralRe: Service Restart Pin
Peter Weyzen4-Jun-04 0:16
Peter Weyzen4-Jun-04 0:16 
GeneralSmall ComboBox Pin
doctorpi3-Jun-04 6:58
doctorpi3-Jun-04 6:58 
GeneralRe: Small ComboBox Pin
Antony M Kancidrowski3-Jun-04 9:35
Antony M Kancidrowski3-Jun-04 9:35 
GeneralRe: Small ComboBox Pin
Johan Rosengren4-Jun-04 3:39
Johan Rosengren4-Jun-04 3:39 
Generaldevice context for a menu Pin
Anonymous3-Jun-04 6:29
Anonymous3-Jun-04 6:29 
GeneralRe: device context for a menu Pin
Trollslayer3-Jun-04 7:09
mentorTrollslayer3-Jun-04 7:09 
QuestionWhat operation does MS Media Player perform while playing a video file through http? Pin
rickyxian3-Jun-04 6:02
rickyxian3-Jun-04 6:02 
AnswerRe: What operation does MS Media Player perform while playing a video file through http? Pin
Ricky Xian3-Jun-04 17:55
Ricky Xian3-Jun-04 17:55 
GeneralGetting the process ID of an externally running application Pin
Antony M Kancidrowski3-Jun-04 5:36
Antony M Kancidrowski3-Jun-04 5:36 
GeneralRe: Getting the process ID of an externally running application Pin
David Crow3-Jun-04 8:46
David Crow3-Jun-04 8:46 
GeneralRe: Getting the process ID of an externally running application Pin
Antony M Kancidrowski3-Jun-04 9:21
Antony M Kancidrowski3-Jun-04 9:21 
GeneralRe: Getting the process ID of an externally running application Pin
Blake Miller4-Jun-04 14:26
Blake Miller4-Jun-04 14:26 

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.