Click here to Skip to main content
15,913,669 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing vKVM/VNC/Remote Desktop Server using C in LINUX Pin
Albert Holguin15-Mar-11 18:19
professionalAlbert Holguin15-Mar-11 18:19 
QuestionGetting the Application Path Pin
pix_programmer15-Mar-11 2:09
pix_programmer15-Mar-11 2:09 
AnswerRe: Getting the Application Path Pin
Niklas L15-Mar-11 2:22
Niklas L15-Mar-11 2:22 
Questionhow to load a bitmap from file? Pin
Dirk van Boxel14-Mar-11 23:26
Dirk van Boxel14-Mar-11 23:26 
AnswerRe: how to load a bitmap from file? Pin
Maxwell Chen15-Mar-11 0:06
Maxwell Chen15-Mar-11 0:06 
GeneralRe: how to load a bitmap from file? Pin
Dirk van Boxel15-Mar-11 0:32
Dirk van Boxel15-Mar-11 0:32 
AnswerRe: how to load a bitmap from file? Pin
Code-o-mat15-Mar-11 1:28
Code-o-mat15-Mar-11 1:28 
GeneralRe: how to load a bitmap from file? Pin
Dirk van Boxel15-Mar-11 2:30
Dirk van Boxel15-Mar-11 2:30 
GeneralRe: how to load a bitmap from file? Pin
Code-o-mat15-Mar-11 2:49
Code-o-mat15-Mar-11 2:49 
GeneralRe: how to load a bitmap from file? Pin
Dirk van Boxel15-Mar-11 3:08
Dirk van Boxel15-Mar-11 3:08 
AnswerRe: how to load a bitmap from file? Pin
Chris Losinger15-Mar-11 4:57
professionalChris Losinger15-Mar-11 4:57 
GeneralRe: how to load a bitmap from file? Pin
Dirk van Boxel15-Mar-11 5:28
Dirk van Boxel15-Mar-11 5:28 
QuestionHow to hide a menuitem when it's unnecessary Pin
Jokcy14-Mar-11 21:49
Jokcy14-Mar-11 21:49 
AnswerRe: How to hide a menuitem when it's unnecessary Pin
Niklas L14-Mar-11 22:09
Niklas L14-Mar-11 22:09 
AnswerRe: How to hide a menuitem when it's unnecessary Pin
«_Superman_»15-Mar-11 20:34
professional«_Superman_»15-Mar-11 20:34 
QuestionParseDateTime restun false with diffrent regional settings Pin
Le@rner14-Mar-11 18:34
Le@rner14-Mar-11 18:34 
AnswerRe: ParseDateTime restun false with diffrent regional settings Pin
Richard MacCutchan15-Mar-11 4:28
mveRichard MacCutchan15-Mar-11 4:28 
QuestionStarting Process Using VC++ Pin
AmbiguousName14-Mar-11 4:24
AmbiguousName14-Mar-11 4:24 
AnswerRe: Starting Process Using VC++ Pin
Cool_Dev14-Mar-11 4:56
Cool_Dev14-Mar-11 4:56 
See CreateProcess Function. You may use lpCommandLine parameter to pass commandline arguments to the process.

See the example Creating Processes under the documentation.

See here How To Terminate an Application "Cleanly" in Win32. You can do WaitForSingleObject() on the process handle (which you get from hProcess member of PROCESS_INFORMATION structure that you used in CreateProcess), to check whether the process has been terminated. If not, you can forcefully terminate it by calling TerminateProcess Function.
GeneralRe: Starting Process Using VC++ Pin
Albert Holguin14-Mar-11 9:03
professionalAlbert Holguin14-Mar-11 9:03 
AnswerRe: Starting Process Using VC++ Pin
Niklas L14-Mar-11 9:43
Niklas L14-Mar-11 9:43 
QuestionHow to change the font-size of a popup-menue (MFC, VC6) Pin
Erik14-Mar-11 2:42
Erik14-Mar-11 2:42 
AnswerRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Cool_Dev14-Mar-11 5:07
Cool_Dev14-Mar-11 5:07 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Erik14-Mar-11 19:31
Erik14-Mar-11 19:31 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Cool_Dev14-Mar-11 22:22
Cool_Dev14-Mar-11 22:22 

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.