Click here to Skip to main content
14,974,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Vagarities of Multiple threads in Windows Pin
Bram van Kampen22-Mar-16 13:33
MemberBram van Kampen22-Mar-16 13:33 
GeneralRe: Vagarities of Multiple threads in Windows Pin
leon de boer25-Mar-16 23:57
Memberleon de boer25-Mar-16 23:57 
QuestionOpenGL control on split MFC form Pin
Member 1228273814-Mar-16 10:08
MemberMember 1228273814-Mar-16 10:08 
AnswerRe: OpenGL control on split MFC form Pin
Richard MacCutchan14-Mar-16 23:48
mveRichard MacCutchan14-Mar-16 23:48 
QuestionDefault argument for DISP_FUNCTION_ID Pin
Member 1214953910-Mar-16 16:44
MemberMember 1214953910-Mar-16 16:44 
AnswerRe: Default argument for DISP_FUNCTION_ID Pin
Bram van Kampen16-Mar-16 15:45
MemberBram van Kampen16-Mar-16 15:45 
QuestionBoth EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
ForNow10-Mar-16 10:19
MemberForNow10-Mar-16 10:19 
AnswerRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
Bram van Kampen10-Mar-16 14:39
MemberBram van Kampen10-Mar-16 14:39 
What on Earth are you trying to Achieve!

Writing a Console Program trying to spawn an MFC Wnd App is not really possible, or desirable!
The only practical way this is possible is by the Console Program calling the Standard 'C' 'system(...)' function to launch the Windows App.
If you are looking for tooling to restart a misbehaving Windows Program, you came to the right door. I have just that.
The actual code is proprietary, but I can explain how it works.

Regards,

Bram. Smile | :)
Bram van Kampen

GeneralRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
ForNow10-Mar-16 15:20
MemberForNow10-Mar-16 15:20 
GeneralRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
Richard MacCutchan11-Mar-16 3:52
mveRichard MacCutchan11-Mar-16 3:52 
AnswerRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
Richard MacCutchan10-Mar-16 21:21
mveRichard MacCutchan10-Mar-16 21:21 
AnswerRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
leon de boer19-Mar-16 21:50
Memberleon de boer19-Mar-16 21:50 
GeneralRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
ForNow20-Mar-16 12:45
MemberForNow20-Mar-16 12:45 
QuestionHow Much of WM_USER+X is used by MFC Pin
Bram van Kampen9-Mar-16 14:14
MemberBram van Kampen9-Mar-16 14:14 
AnswerRe: How Much of WM_USER+X is used by MFC Pin
Jochen Arndt9-Mar-16 21:38
professionalJochen Arndt9-Mar-16 21:38 
AnswerRe: How Much of WM_USER+X is used by MFC Pin
Richard MacCutchan9-Mar-16 22:17
mveRichard MacCutchan9-Mar-16 22:17 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Bram van Kampen10-Mar-16 14:03
MemberBram van Kampen10-Mar-16 14:03 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Richard MacCutchan10-Mar-16 21:15
mveRichard MacCutchan10-Mar-16 21:15 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Jochen Arndt10-Mar-16 21:38
professionalJochen Arndt10-Mar-16 21:38 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Richard MacCutchan10-Mar-16 21:50
mveRichard MacCutchan10-Mar-16 21:50 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Bram van Kampen10-Mar-16 14:08
MemberBram van Kampen10-Mar-16 14:08 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Victor Nijegorodov11-Mar-16 3:17
MemberVictor Nijegorodov11-Mar-16 3:17 
QuestionEnsuring code runs synchronously Pin
ForNow9-Mar-16 4:01
MemberForNow9-Mar-16 4:01 
AnswerRe: Ensuring code runs synchronously Pin
Richard MacCutchan9-Mar-16 6:21
mveRichard MacCutchan9-Mar-16 6:21 
AnswerRe: Ensuring code runs synchronously Pin
Bram van Kampen9-Mar-16 14:29
MemberBram van Kampen9-Mar-16 14:29 

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.