Click here to Skip to main content
15,914,070 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow can i overwrite IDocHostUIHandler::ShowContextMenu() Pin
only_jack28-Oct-08 8:19
only_jack28-Oct-08 8:19 
AnswerRe: how can i overwrite IDocHostUIHandler::ShowContextMenu() Pin
Steve Thresher28-Oct-08 13:52
Steve Thresher28-Oct-08 13:52 
QuestionDownload "content disposition" link with COM object problem Pin
ecosoft128-Oct-08 8:08
ecosoft128-Oct-08 8:08 
QuestionDWM 2 Pin
Sarriss28-Oct-08 6:25
Sarriss28-Oct-08 6:25 
QuestionGetProcessID Pin
fvcker28-Oct-08 2:50
fvcker28-Oct-08 2:50 
AnswerRe: GetProcessID Pin
Roger Stoltz28-Oct-08 2:58
Roger Stoltz28-Oct-08 2:58 
GeneralRe: GetProcessID Pin
fvcker28-Oct-08 6:32
fvcker28-Oct-08 6:32 
QuestionRe: GetProcessID Pin
Roger Stoltz28-Oct-08 6:42
Roger Stoltz28-Oct-08 6:42 
Did you read the documentation I linked to?

I suppose not, because if you did you would have found out that you should not call ::GetProcessId() with a string as parameter, you call it providing a HANDLE to a process.

At this point it would do you much better if you explain what you're trying to do and why since this is at best pulled out of context.
You probably should enumerate the running processes, but that depends on what you're trying to do.
Have a look here[^] and here[^].


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


AnswerRe: GetProcessID Pin
fvcker28-Oct-08 6:44
fvcker28-Oct-08 6:44 
QuestionRe: GetProcessID Pin
Roger Stoltz28-Oct-08 6:52
Roger Stoltz28-Oct-08 6:52 
AnswerRe: GetProcessID Pin
fvcker28-Oct-08 7:25
fvcker28-Oct-08 7:25 
QuestionRe: GetProcessID Pin
David Crow28-Oct-08 6:08
David Crow28-Oct-08 6:08 
AnswerRe: GetProcessID Pin
fvcker28-Oct-08 6:43
fvcker28-Oct-08 6:43 
GeneralRe: GetProcessID Pin
David Crow28-Oct-08 7:05
David Crow28-Oct-08 7:05 
AnswerRe: GetProcessID Pin
Hamid_RT28-Oct-08 19:23
Hamid_RT28-Oct-08 19:23 
QuestionShared Functions Declaration Pin
ajorge200828-Oct-08 1:34
ajorge200828-Oct-08 1:34 
QuestionRe: Shared Functions Declaration Pin
CPallini28-Oct-08 1:43
mveCPallini28-Oct-08 1:43 
AnswerRe: Shared Functions Declaration Pin
ajorge200828-Oct-08 1:51
ajorge200828-Oct-08 1:51 
QuestionRe: Shared Functions Declaration Pin
CPallini28-Oct-08 2:36
mveCPallini28-Oct-08 2:36 
AnswerRe: Shared Functions Declaration Pin
ajorge200828-Oct-08 4:22
ajorge200828-Oct-08 4:22 
GeneralRe: Shared Functions Declaration Pin
CPallini28-Oct-08 4:25
mveCPallini28-Oct-08 4:25 
GeneralRe: Shared Functions Declaration Pin
ajorge200828-Oct-08 4:50
ajorge200828-Oct-08 4:50 
Questiondata storage Pin
anna mathew28-Oct-08 1:02
anna mathew28-Oct-08 1:02 
AnswerRe: data storage PinPopular
CPallini28-Oct-08 1:07
mveCPallini28-Oct-08 1:07 
GeneralRe: data storage Pin
anna mathew30-Oct-08 0:36
anna mathew30-Oct-08 0:36 

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.